Aracılığıyla paylaş


WebSocketOptions.SubProtocolSelector Özellik

Tanım

'Sec-WebSocket-Protocol' yanıt üst bilgisi için değeri seçmek üzere yeni bir WebSocket oluşturulduğunda çağrılacak bir temsilci alır veya ayarlar. Temsilci, 'Sec-WebSocket-Protocol' istek üst bilgisinde istemci tarafından sağlanan protokollerin listesiyle çağrılır.

public:
 property Func<System::Collections::Generic::IList<System::String ^> ^, System::String ^> ^ SubProtocolSelector { Func<System::Collections::Generic::IList<System::String ^> ^, System::String ^> ^ get(); void set(Func<System::Collections::Generic::IList<System::String ^> ^, System::String ^> ^ value); };
public Func<System.Collections.Generic.IList<string>,string> SubProtocolSelector { get; set; }
public Func<System.Collections.Generic.IList<string>,string>? SubProtocolSelector { get; set; }
member this.SubProtocolSelector : Func<System.Collections.Generic.IList<string>, string> with get, set
Public Property SubProtocolSelector As Func(Of IList(Of String), String)

Özellik Değeri

Açıklamalar

WebSocket el sıkışması hakkında daha fazla ayrıntı için RFC 6455 bölüm 1.3'e bakın: https://tools.ietf.org/html/rfc6455#section-1.3

Şunlara uygulanır