Enum hyper::header::ConnectionOption
[−]
[src]
pub enum ConnectionOption {
KeepAlive,
Close,
ConnectionHeader(UniCase<String>),
}Values that can be in the Connection header.
Variants
KeepAliveThe keep-alive connection value.
CloseThe close connection value.
ConnectionHeader(UniCase<String>)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.