다음을 통해 공유


HttpConnectionOptions.WebSocketFactory 속성

정의

WebSocket 전송에 사용할 를 래핑하거나 바꾸기 WebSocket 위한 대리자를 가져오거나 설정합니다.

public Func<Microsoft.AspNetCore.Http.Connections.Client.WebSocketConnectionContext,System.Threading.CancellationToken,System.Threading.Tasks.ValueTask<System.Net.WebSockets.WebSocket>>? WebSocketFactory { get; set; }
member this.WebSocketFactory : Func<Microsoft.AspNetCore.Http.Connections.Client.WebSocketConnectionContext, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Net.WebSockets.WebSocket>> with get, set
Public Property WebSocketFactory As Func(Of WebSocketConnectionContext, CancellationToken, ValueTask(Of WebSocket))

속성 값

적용 대상