Struct zircon::ZirconConfig [] [src]

pub struct ZirconConfig { /* fields omitted */ }

Zircon server configuration

Methods

impl ZirconConfig
[src]

[src]

The default development configuration.

[src]

The default production configuration.

[src]

Choose configuration from mode.

[src]

When respect_xforwarded is true, Request will respect X-Forwarded-*. host(), port(), scheme(), and remote_addr() will respect X-Forwarded-*. It will be useful when an application is running behind a reverse proxy.

[src]

[src]

[src]

Server mode of the current configuration

[src]

[src]

Trait Implementations

impl Clone for ZirconConfig
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more