SocketConnectionContextFactory.Create(Socket) Method
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.
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.