WebSocketOptions.SubProtocolSelector 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
'Sec-WebSocket-Protocol' 응답 헤더의 값을 선택하기 위해 새 WebSocket이 설정될 때 호출될 대리자를 가져오거나 설정합니다. 대리자는 'Sec-WebSocket-Protocol' 요청 헤더에서 클라이언트에서 제공하는 프로토콜 목록을 사용하여 호출됩니다.
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)
속성 값
설명
WebSocket 핸드셰이크에 대한 자세한 내용은 RFC 6455 섹션 1.3을 참조하세요. https://tools.ietf.org/html/rfc6455#section-1.3