ServerStreamWebSocketInformation.Protocol 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在 ServerStreamWebSocket物件的 WebSocket 握手時,取得與伺服器協商的 WebSocket 子協定。
public:
property Platform::String ^ Protocol { Platform::String ^ get(); };
winrt::hstring Protocol();
public string Protocol { get; }
var string = serverStreamWebSocketInformation.protocol;
Public ReadOnly Property Protocol As String
屬性值
子協定在 WebSocket 握手時與伺服器協商。
Windows 需求
| 規格需求 | Description |
|---|---|
| 應用程式功能 |
internetClientServer
privateNetworkClientServer
|