Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Microsoft.​AspNetCore.​Connections.​ConnectionHandler

Assembly: Microsoft.AspNetCore.Connections.Abstractions

Inheritance: object → ConnectionHandler

Represents an endpoint that multiple connections connect to. For HTTP, endpoints are URLs, for non-HTTP it can be a TCP listener (or similar).

Methods

OnConnectedAsync​(ConnectionContext connection)
Called when a new connection is accepted to the endpoint.
Returns A <see cref="T:System.Threading.Tasks.Task" /> that represents the connection lifetime. When the task completes, the connection is complete.
connection The new <see cref="T:Microsoft.AspNetCore.Connections.ConnectionContext" />
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object