Struct actix_web::server::ServerSettings
[−]
[src]
pub struct ServerSettings { /* fields omitted */ }
Various server settings
Methods
impl ServerSettings
[src]
fn local_addr(&self) -> Option<SocketAddr>
[src]
Returns the socket address of the local half of this TCP connection
fn secure(&self) -> bool
[src]
Returns true if connection is secure(https)
fn host(&self) -> &str
[src]
Returns host header value
Trait Implementations
impl Debug for ServerSettings
[src]
impl Clone for ServerSettings
[src]
fn clone(&self) -> ServerSettings
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more