Enum websocket::codec::http::HttpCodecError
[−]
[src]
pub enum HttpCodecError { Io(Error), Http(Error), }
Any error that can happen during the writing or parsing of HTTP requests
and responses. This consists of HTTP parsing errors (the Http
variant) and
errors that can occur when writing to IO (the Io
variant).
Variants
Io(Error)
An error that occurs during the writing or reading of HTTP data from a socket.
Http(Error)
An error that occurs during the parsing of an HTTP request or response.