Class: Protocol::HTTP2::HandshakeError

Inherits:
Error
  • Object
show all
Defined in:
lib/protocol/http2/error.rb

Overview

Raised if connection header is missing or invalid indicating that this is an invalid HTTP 2.0 request - no frames are emitted and the connection must be aborted.

Constant Summary

Constants inherited from Error

Error::CANCEL, Error::COMPRESSION_ERROR, Error::CONNECT_ERROR, Error::ENHANCE_YOUR_CALM, Error::FLOW_CONTROL_ERROR, Error::FRAME_SIZE_ERROR, Error::HTTP_1_1_REQUIRED, Error::INADEQUATE_SECURITY, Error::INTERNAL_ERROR, Error::NO_ERROR, Error::PROTOCOL_ERROR, Error::REFUSED_STREAM, Error::SETTINGS_TIMEOUT, Error::STREAM_CLOSED