HttpConnectionOptions.WebSocketConfiguration Property

Definition

Gets or sets a delegate that will be invoked with the ClientWebSocketOptions object used to configure the WebSocket when using the WebSockets transport.

public:
 property Action<System::Net::WebSockets::ClientWebSocketOptions ^> ^ WebSocketConfiguration { Action<System::Net::WebSockets::ClientWebSocketOptions ^> ^ get(); void set(Action<System::Net::WebSockets::ClientWebSocketOptions ^> ^ value); };
public Action<System.Net.WebSockets.ClientWebSocketOptions> WebSocketConfiguration { get; set; }
public Action<System.Net.WebSockets.ClientWebSocketOptions>? WebSocketConfiguration { get; set; }
member this.WebSocketConfiguration : Action<System.Net.WebSockets.ClientWebSocketOptions> with get, set
Public Property WebSocketConfiguration As Action(Of ClientWebSocketOptions)

Property Value

Action<ClientWebSocketOptions>

Remarks

This delegate is invoked after headers from Headers and the access token from AccessTokenProvider has been applied.

Applies to