Struct actix_web::server::ServerSettings
[−]
[src]
pub struct ServerSettings { /* fields omitted */ }Various server settings
Methods
impl ServerSettings[src]
pub fn local_addr(&self) -> Option<SocketAddr>[src]
Returns the socket address of the local half of this TCP connection
pub fn secure(&self) -> bool[src]
Returns true if connection is secure(https)
pub fn host(&self) -> &str[src]
Returns host header value
pub fn cpu_pool(&self) -> &CpuPool[src]
Returns default CpuPool for server
Trait Implementations
impl Sync for ServerSettings[src]
impl Send for ServerSettings[src]
impl Clone for ServerSettings[src]
fn clone(&self) -> Self[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