Skip to main content

CrystalDocs builds documentation for every shard, on request. The announcement: Documentation for every shard, on CrystalBits.

CrystalDocs

    Browse DocsCrystalShardsAbout

    github.com/nomadlabsinc/ht2

    main

    Types

    • HT2
      • AdaptiveBufferManager
      • AdaptiveFlowControl
        • FlowMetrics
        • Strategy
      • BackpressureManager
        • WritePressure
      • BufferPool
      • BufferedSocket
      • Connection
        • DataCallback
        • HeaderCallback
      • ConnectionError
      • ConnectionMetrics
        • ErrorCounters
        • FrameCounters
      • ContentLengthValidator
      • Context
      • ContinuationFrame
      • DataFrame
      • DebugMode
        • Config
        • Direction
      • Error
      • ErrorCode
      • Frame
      • FrameCache
      • FrameFlags
      • FrameType
      • GoAwayFrame
      • H2C
        • ConnectionType
      • HPACK
        • CompressionError
        • Decoder
          • Header
        • DecompressionError
        • Encoder
          • Header
        • Error
        • Huffman
      • HeaderValidator
      • HeadersFrame
      • MultiFrameWriter
        • PrioritizedFrame
      • PerformanceMetrics
        • StreamTiming
        • ThroughputCalculator
      • PingFrame
      • PriorityData
      • PriorityFrame
      • ProtocolError
      • PushPromiseFrame
      • RapidResetProtection
        • Config
        • StreamMetrics
      • Request
      • Response
      • RstStreamFrame
      • Security
        • RateLimiter
      • SecurityEventMetrics
      • Server
        • Handler
      • SettingsFrame
        • Settings
        • SettingsList
        • SettingsPair
      • SettingsParameter
      • Stream
      • StreamClosedError
      • StreamError
      • StreamLifecycleTracer
        • Event
        • EventType
        • StreamHistory
      • StreamState
      • StreamStateMachine
        • Event
        • TransitionResult
      • UnknownFrame
      • VectoredIO
      • WindowUpdateFrame
      • WorkerPool
        • Task
      • ZeroCopy
        • BufferList
    module

    HT2

    Constants

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

    HTTP/2 connection preface

    DEFAULT_HEADER_TABLE_SIZE = 4096_u32

    Default settings

    DEFAULT_INITIAL_WINDOW_SIZE = 65535_u32
    DEFAULT_MAX_CONCURRENT_STREAMS = 100_u32
    DEFAULT_MAX_FRAME_SIZE = 16384_u32
    DEFAULT_MAX_HEADER_LIST_SIZE = 8192_u32
    SETTINGS_ACK_TIMEOUT = 10.seconds

    Timeout for receiving SETTINGS acknowledgment

    VERSION = "0.1.0"

    Nested types

    • HT2::AdaptiveBufferManager
    • HT2::AdaptiveFlowControl
    • HT2::BackpressureManager
    • HT2::BufferPool
    • HT2::BufferedSocket
    • HT2::Connection
    • HT2::ConnectionError
    • HT2::ConnectionMetrics
    • HT2::ContentLengthValidator
    • HT2::Context
    • HT2::ContinuationFrame
    • HT2::DataFrame
    • HT2::DebugMode
    • HT2::Error
    • HT2::ErrorCode
    • HT2::Frame
    • HT2::FrameCache
    • HT2::FrameFlags
    • HT2::FrameType
    • HT2::GoAwayFrame
    • HT2::H2C
    • HT2::HPACK
    • HT2::HeaderValidator
    • HT2::HeadersFrame
    • HT2::MultiFrameWriter
    • HT2::PerformanceMetrics
    • HT2::PingFrame
    • HT2::PriorityData
    • HT2::PriorityFrame
    • HT2::ProtocolError
    • HT2::PushPromiseFrame
    • HT2::RapidResetProtection
    • HT2::Request
    • HT2::Response
    • HT2::RstStreamFrame
    • HT2::Security
    • HT2::SecurityEventMetrics
    • HT2::Server
    • HT2::SettingsFrame
    • HT2::SettingsParameter
    • HT2::Stream
    • HT2::StreamClosedError
    • HT2::StreamError
    • HT2::StreamLifecycleTracer
    • HT2::StreamState
    • HT2::StreamStateMachine
    • HT2::UnknownFrame
    • HT2::VectoredIO
    • HT2::WindowUpdateFrame
    • HT2::WorkerPool
    • HT2::ZeroCopy

    Advertisement

    Crystal jobs from CrystalGigs

    • Your posting here

      Reach Crystal developers on CrystalGigsFirst party

    CrystalDocs.org - Crystal Shard Documentation Hosting

    The CrystalBits newsletter

    Crystal tutorials, release news and community writing. One email when there is something new, never a stream.

    You will get one confirmation email to check the address is yours. Unsubscribe any time.

    GitHubCrystalShardsCrystalGigsCrystalBitsCrystal Language

    The Bushido Collective builds and maintains this site. ยท Licensed under the Apache License 2.0