class

HTTP2::ProtocolError

Inherits Exception < Reference < Object

A peer protocol violation with enough information for the connection layer to choose GOAWAY or RST_STREAM.

Constructors

new(message : String, error_code : ErrorCode = ErrorCode::PROTOCOL_ERROR, scope : ErrorScope = ErrorScope::Connection, stream_id : UInt32 | Nil = nil)
Source

Instance methods

connection?
Source
error_code
Source
scope
Source
stream?
Source
stream_id
Source