SslTransport Type
Record fields
| Record Field | Description |
|
|
|
The ALPN protocol negotiated during the TLS handshake. When ALPN was not used (or the client did not advertise a known protocol), this is `SslApplicationProtocol()` (i.e. its `Protocol` byte sequence is empty). Callers may inspect this after `AuthenticateAsServerAsync` completes to dispatch to an HTTP/2 reader for "h2", or fall back to HTTP/1.1 otherwise.
|
|
|
|
Constructors
| Constructor | Description |
Full Usage:
SslTransport(listenSocket, certificate, cancellationToken)
Parameters:
Socket
certificate : X509Certificate
cancellationToken : CancellationToken
Returns: SslTransport
|
|
Instance members
| Instance member | Description |
|
|
|
|
Full Usage:
this.shutdown ()
|
|
|
|
Static members
| Static member | Description |
Full Usage:
SslTransport.buildServerAuthenticationOptions (certificate, checkCertificateRevocation)
Parameters:
X509Certificate
checkCertificateRevocation : bool
Returns: SslServerAuthenticationOptions
|
|