Enum actix_http::ws::HandshakeError [−][src]
pub enum HandshakeError {
GetMethodRequired,
NoWebsocketUpgrade,
NoConnectionUpgrade,
NoVersionHeader,
UnsupportedVersion,
BadWebsocketKey,
}Expand description
WebSocket handshake errors
Variants
Only get method is allowed.
Upgrade header if not set to WebSocket.
Connection header is not set to upgrade.
WebSocket version header is not set.
Unsupported WebSocket version.
WebSocket key is not set or wrong.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for HandshakeErrorimpl Send for HandshakeErrorimpl Sync for HandshakeErrorimpl Unpin for HandshakeErrorimpl UnwindSafe for HandshakeError