Skip to main content

default_server_name

Function default_server_name 

Source
pub fn default_server_name() -> ServerName<'static>
Expand description

SERVER_NAME as the name rustls takes, for a host that dials with a connector of its own (rustls, tokio-rustls, quinn) and trusts by pins.