Struct poem::middleware::ForceHttps [−][src]
pub struct ForceHttps { /* fields omitted */ }
Expand description
Middleware for force redirect to HTTPS uri.
Implementations
Specify https port.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ForceHttps
impl Send for ForceHttps
impl Sync for ForceHttps
impl Unpin for ForceHttps
impl UnwindSafe for ForceHttps
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more