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.
Microsoft.AspNetCore.Connections.Abstractions
System Library
| Author | Microsoft |
| Version | 10.0.1 |
| Tags |
Public Types
Microsoft.​AspNetCore.​Connections
class AddressInUseException
An exception that is thrown when there the current address Kestrel is trying to bind to is in use.
class BaseConnectionContext
Represents the context for a connection.
An exception that is thrown when a connection is aborted by the server.
class ConnectionBuilder
A default implementation for <see cref="T:Microsoft.AspNetCore.Connections.IConnectionBuilder" /> .
<see cref="T:Microsoft.AspNetCore.Connections.IConnectionBuilder" /> extensions.
class ConnectionContext
Encapsulates all information about an individual connection.
class ConnectionDelegate
A function that can process a connection.
class 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).
class ConnectionItems
The items associated with a given connection.
class ConnectionResetException
An exception thrown when the connection is reset.
class DefaultConnectionContext
The default implementation for the <see cref="T:Microsoft.AspNetCore.Connections.ConnectionContext" /> .
class FileHandleEndPoint
An endpoint backed by an OS file handle.
enum FileHandleType
Enumerates the <see cref="T:Microsoft.AspNetCore.Connections.FileHandleEndPoint" /> types.
interface IConnectionBuilder
Defines an interface that provides the mechanisms to configure a connection pipeline.
interface IConnectionFactory
A factory abstraction for creating connections to an endpoint.
interface IConnectionListener
Defines an interface that represents a listener bound to a specific <see cref="P:Microsoft.AspNetCore.Connections.IConnectionListener.EndPoint" /> .
interface IConnectionListenerFactory
Defines an interface that provides the mechanisms for binding to various types of <see cref="T:System.Net.EndPoint" /> s.
interface IConnectionListenerFactorySelector
Defines an interface that determines whether the listener factory supports binding to the specified <see cref="T:System.Net.EndPoint" /> .
interface IMemoryPoolFactory<​T>
Interface for creating memory pools.
interface IMultiplexedConnectionBuilder
Defines an interface that provides the mechanisms to configure a connection pipeline.
interface IMultiplexedConnectionFactory
A factory abstraction for creating connections to an endpoint.
interface IMultiplexedConnectionListener
Defines an interface that represents a listener bound to a specific <see cref="P:Microsoft.AspNetCore.Connections.IMultiplexedConnectionListener.EndPoint" /> .
interface IMultiplexedConnectionListenerFactory
Defines an interface that provides the mechanisms for binding to various types of <see cref="T:System.Net.EndPoint" /> s.
class MemoryPoolOptions
Options for configuring a memory pool.
A default implementation for <see cref="T:Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder" /> .
Encapsulates all information about a multiplexed connection.
A function that can process a connection.
class NamedPipeEndPoint
Represents a Named Pipe endpoint.
Per connection state used to determine the TLS options.
Options used to configure a per connection callback for TLS configuration.
enum TransferFormat
Represents the possible transfer formats.
class UriEndPoint
An <see cref="T:System.Net.EndPoint" /> defined by a <see cref="T:System.Uri" /> .
Microsoft.​AspNetCore.​Connections.​Abstractions
interface IStatefulReconnectFeature
Provides access to connection reconnect operations.
Microsoft.​AspNetCore.​Connections.​Features
interface IConnectionCompleteFeature
Represents the completion action for a connection.
interface IConnectionEndPointFeature
A feature that represents a connection endpoints.
interface IConnectionHeartbeatFeature
A feature that represents the connection heartbeat.
interface IConnectionIdFeature
The unique identifier for a given connection.
interface IConnectionInherentKeepAliveFeature
Indicates if the connection transport has an "inherent keep-alive", which means that the transport will automatically
inform the client that it is still present.
interface IConnectionItemsFeature
A bag of items associated with a given connection.
interface IConnectionLifetimeFeature
Represents the lifetime of the connection.
interface IConnectionLifetimeNotificationFeature
Enables graceful termination of the connection.
interface IConnectionMetricsTagsFeature
Provides access to tags added to the metrics connection counter. This feature isn't set if the counter isn't enabled.
interface IConnectionNamedPipeFeature
Provides access to the connection's underlying <see cref="T:System.IO.Pipes.NamedPipeServerStream" /> .
interface IConnectionSocketFeature
Provides access to the connection's underlying <see cref="P:Microsoft.AspNetCore.Connections.Features.IConnectionSocketFeature.Socket" /> .
interface IConnectionTransportFeature
The transport for the connection.
interface IConnectionUserFeature
The user associated with the connection.
interface IMemoryPoolFeature
The <see cref="T:System.Buffers.MemoryPool`1" /> used by the connection.
interface IPersistentStateFeature
Provides access to a key/value collection that can be used to persist state between connections and requests.
Whether a transport supports persisting state depends on the implementation. The transport must support
pooling and reusing connection instances for state to be persisted.
<para>
Because values added to persistent state can live in memory until a connection is no longer pooled,
use caution when adding items to this collection to avoid excessive memory use.
</para>
interface IProtocolErrorCodeFeature
The error code for the protocol being used.
interface IStreamAbortFeature
Supports aborting individual sides of a connection stream.
interface IStreamClosedFeature
Represents the close action for a stream.
interface IStreamDirectionFeature
The direction of a connection stream
interface IStreamIdFeature
Represents the identifier for the stream.
interface ITlsHandshakeFeature
Represents the details about the TLS handshake.
interface ITransferFormatFeature
Gets the transfer format of the protocol.