Share via


SocketTransportFactory Class

Definition

A factory for socket based connections.

public ref class SocketTransportFactory sealed : Microsoft::AspNetCore::Server::Kestrel::Transport::Abstractions::Internal::ITransportFactory
public ref class SocketTransportFactory sealed : Microsoft::AspNetCore::Connections::IConnectionListenerFactory
public sealed class SocketTransportFactory : Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportFactory
public sealed class SocketTransportFactory : Microsoft.AspNetCore.Connections.IConnectionListenerFactory
public sealed class SocketTransportFactory : Microsoft.AspNetCore.Connections.IConnectionListenerFactory, Microsoft.AspNetCore.Connections.IConnectionListenerFactorySelector
type SocketTransportFactory = class
    interface ITransportFactory
type SocketTransportFactory = class
    interface IConnectionListenerFactory
type SocketTransportFactory = class
    interface IConnectionListenerFactory
    interface IConnectionListenerFactorySelector
Public NotInheritable Class SocketTransportFactory
Implements ITransportFactory
Public NotInheritable Class SocketTransportFactory
Implements IConnectionListenerFactory
Public NotInheritable Class SocketTransportFactory
Implements IConnectionListenerFactory, IConnectionListenerFactorySelector
Inheritance
SocketTransportFactory
Implements
Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportFactory IConnectionListenerFactory IConnectionListenerFactorySelector

Constructors

SocketTransportFactory(IOptions<SocketTransportOptions>, IApplicationLifetime, ILoggerFactory)
SocketTransportFactory(IOptions<SocketTransportOptions>, ILoggerFactory)

Initializes a new instance of the SocketTransportFactory class.

Methods

BindAsync(EndPoint, CancellationToken)

Creates an IConnectionListener bound to the specified EndPoint.

CanBind(EndPoint)

Returns a value that indicates whether the listener factory supports binding to the specified EndPoint.

Create(IEndPointInformation, IConnectionDispatcher)

Applies to