Class QuicServerTransport
- Namespace
- IceRpc.Transports.Quic
- Assembly
- IceRpc.dll
Implements IMultiplexedServerTransport using QUIC.
public class QuicServerTransport : IMultiplexedServerTransport
- Inheritance
-
QuicServerTransport
- Implements
- Inherited Members
Constructors
QuicServerTransport()
Constructs a QUIC server transport.
public QuicServerTransport()
QuicServerTransport(QuicServerTransportOptions)
Constructs a QUIC server transport.
public QuicServerTransport(QuicServerTransportOptions options)
Parameters
optionsQuicServerTransportOptionsThe options to configure the transport.
Properties
DefaultName
Gets the default transport name.
public string DefaultName { get; }
Property Value
- string
The transport accepts transport addresses that use this name as the TransportName. Some transports may accept additional names beyond this default.
Methods
Listen(TransportAddress, MultiplexedConnectionOptions, SslServerAuthenticationOptions?)
Starts listening on a transport address.
public IListener<IMultiplexedConnection> Listen(TransportAddress transportAddress, MultiplexedConnectionOptions options, SslServerAuthenticationOptions? serverAuthenticationOptions)
Parameters
transportAddressTransportAddressThe transport address to listen on.
optionsMultiplexedConnectionOptionsThe multiplexed connection options.
serverAuthenticationOptionsSslServerAuthenticationOptionsThe SSL server authentication options.
Returns
- IListener<IMultiplexedConnection>
The new listener.
Remarks
The IceRPC core can call this method concurrently so it must be thread-safe.