共用方式為


HttpListenerWebSocketContext.Headers 屬性

定義

取得 HttpListener 物件在 WebSocket 開頭信號交換中收到的 HTTP 標頭。

public:
 virtual property System::Collections::Specialized::NameValueCollection ^ Headers { System::Collections::Specialized::NameValueCollection ^ get(); };
public override System.Collections.Specialized.NameValueCollection Headers { get; }
member this.Headers : System.Collections.Specialized.NameValueCollection
Public Overrides ReadOnly Property Headers As NameValueCollection

屬性值

HttpListener 物件接收到的 HTTP 標頭。

適用於