Dela via


MultiplexedConnectionContext Class

Definition

Encapsulates all information about a multiplexed connection.

public abstract class MultiplexedConnectionContext : Microsoft.AspNetCore.Connections.BaseConnectionContext, IAsyncDisposable
type MultiplexedConnectionContext = class
    inherit BaseConnectionContext
    interface IAsyncDisposable
Public MustInherit Class MultiplexedConnectionContext
Inherits BaseConnectionContext
Implements IAsyncDisposable
Inheritance
MultiplexedConnectionContext
Implements

Constructors

MultiplexedConnectionContext()

Properties

ConnectionClosed

Triggered when the client connection is closed.

(Inherited from BaseConnectionContext)
ConnectionId

Gets or sets a unique identifier to represent this connection in trace logs.

(Inherited from BaseConnectionContext)
Features

Gets the collection of features provided by the server and middleware available on this connection.

(Inherited from BaseConnectionContext)
Items

Gets or sets a key/value collection that can be used to share data within the scope of this connection.

(Inherited from BaseConnectionContext)
LocalEndPoint

Gets or sets the local endpoint for this connection.

(Inherited from BaseConnectionContext)
RemoteEndPoint

Gets or sets the remote endpoint for this connection.

(Inherited from BaseConnectionContext)

Methods

Abort()

Aborts the underlying connection.

(Inherited from BaseConnectionContext)
Abort(ConnectionAbortedException)

Aborts the underlying connection.

(Inherited from BaseConnectionContext)
AcceptAsync(CancellationToken)

Asynchronously accept an incoming stream on the connection.

ConnectAsync(IFeatureCollection, CancellationToken)

Creates an outbound connection

DisposeAsync()

Releases resources for the underlying connection.

(Inherited from BaseConnectionContext)

Applies to