Tls module

server_name

procedure · 1 overloadSource

The name a client asked for in its SNI extension, on a stream from tls_accept ("" if it sent none). It points into the stream.

server_name :: (stream: *Tls_Stream) -> string

The name a client asked for in its SNI extension, on a stream from tls_accept ("" if it sent none). It points into the stream.

Parameters

stream: *Tls_Stream
a stream from tls_accept.

Returns

string

See also