Share via


SocketConnectionContextFactory.Create(Socket) Method

Definition

Create a ConnectionContext for a socket.

public Microsoft.AspNetCore.Connections.ConnectionContext Create (System.Net.Sockets.Socket socket);
member this.Create : System.Net.Sockets.Socket -> Microsoft.AspNetCore.Connections.ConnectionContext
Public Function Create (socket As Socket) As ConnectionContext

Parameters

socket
Socket

The socket for the connection.

Returns

Applies to