Enum hyper::header::ConnectionOption [] [src]

pub enum ConnectionOption {
    KeepAlive,
    Close,
    ConnectionHeader(UniCase<String>),
}

Values that can be in the Connection header.

Variants

The keep-alive connection value.

The close connection value.

Values in the Connection header that are supposed to be names of other Headers.

When a header field aside from Connection is used to supply control information for or about the current connection, the sender MUST list the corresponding field-name within the Connection header field.