WebSocketConnectionContext(Uri, HttpConnectionOptions) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.