Protocol::HTTP2SourceProtocolHTTP2

module HTTP2

Nested

Definitions

FRAMES

HTTP/2 frame type mapping as defined by the spec

Implementation

FRAMES = [
	DataFrame,
	HeadersFrame,
	PriorityFrame,
	ResetStreamFrame,
	SettingsFrame,
	PushPromiseFrame,
	PingFrame,
	GoawayFrame,
	WindowUpdateFrame,
	ContinuationFrame,
].freeze

CONNECTION_PREFACE = "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n".freeze

Default connection "fast-fail" preamble string as defined by the spec.