Struct actix_web::server::ServerSettings [−][src]
Various server settings
Methods
impl ServerSettings
[src]
[−]
impl ServerSettings
pub fn local_addr(&self) -> Option<SocketAddr>
[src]
[−]
pub fn local_addr(&self) -> Option<SocketAddr>
Returns the socket address of the local half of this TCP connection
pub fn secure(&self) -> bool
[src]
[−]
pub fn secure(&self) -> bool
Returns true if connection is secure(https)
pub fn host(&self) -> &str
[src]
[−]
pub fn host(&self) -> &str
Returns host header value
pub fn cpu_pool(&self) -> &CpuPool
[src]
[−]
pub fn cpu_pool(&self) -> &CpuPool
Returns default CpuPool
for server
Trait Implementations
impl Clone for ServerSettings
[src]
[+]
impl Clone for ServerSettings
impl Default for ServerSettings
[src]
[+]
impl Default for ServerSettings
Auto Trait Implementations
impl !Send for ServerSettings
impl !Send for ServerSettings
impl !Sync for ServerSettings
impl !Sync for ServerSettings