module Duo

Defined in:

duo.cr
duo/client.cr
duo/connection.cr
duo/data.cr
duo/errors.cr
duo/frame.cr
duo/frame_types.cr
duo/hpack.cr
duo/hpack/dynamic_table.cr
duo/hpack/hpack.cr
duo/hpack/huffman.cr
duo/hpack/slice_reader.cr
duo/hpack/static_table.cr
duo/priority.cr
duo/server.cr
duo/server/context.cr
duo/server/handler.cr
duo/server/request.cr
duo/server/response.cr
duo/settings.cr
duo/state.cr
duo/stream.cr
duo/streams.cr

Constant Summary

CLIENT_PREFACE = "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n"
DEFAULT_ENABLE_PUSH = false
DEFAULT_HEADER_TABLE_SIZE = 4096
DEFAULT_INITIAL_WINDOW_SIZE = 65535
DEFAULT_MAX_FRAME_SIZE = MINIMUM_FRAME_SIZE
DEFAULT_PRIORITY = Priority.new(false, 0, 16)
Log = ::Log.for("Duo (Duo)")
MAXIMUM_FRAME_SIZE = 16777215
MAXIMUM_WINDOW_SIZE = 2147483647
MINIMUM_FRAME_SIZE = 16384
MINIMUM_WINDOW_SIZE = 1
PING_FRAME_SIZE = 8
PRIORITY_FRAME_SIZE = 5
REQUEST_PSEUDO_HEADERS = [":method", ":scheme", ":authority", ":path"] of ::String
RESPONSE_PSEUDO_HEADERS = [":status"] of ::String
RST_STREAM_FRAME_SIZE = 4
VERSION = "0.1.0"
WINDOW_UPDATE_FRAME_SIZE = 4