Dela via


WebSocketConnectionContext(Uri, HttpConnectionOptions) Constructor

Definition

Initializes a new instance of the WebSocketConnectionContext class.

public WebSocketConnectionContext (Uri uri, Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions options);
new Microsoft.AspNetCore.Http.Connections.Client.WebSocketConnectionContext : Uri * Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions -> Microsoft.AspNetCore.Http.Connections.Client.WebSocketConnectionContext
Public Sub New (uri As Uri, options As HttpConnectionOptions)

Parameters

uri
Uri

The URL to connect to.

options
HttpConnectionOptions

The connection options to use.

Applies to