@s2-dev/streamstore - v0.25.0
    Preparing search index...

    Interface Http2Settings

    HTTP/2 flow-control settings for the s2s transport.

    Only applies where sessions run over s2s (HTTP/2); the fetch transport ignores these. Connections are pooled per endpoint, and clients configured with different settings do not share connections.

    interface Http2Settings {
        connectionWindowSize?: number;
        initialStreamWindowSize?: number;
    }
    Index

    Properties

    connectionWindowSize?: number

    Flow-control receive window for each HTTP/2 connection, in bytes.

    Bounds in-flight data summed across all sessions multiplexed on one connection (up to 100 streams per connection).

    Must be an integer between 65,535 and 2^31 - 1.

    10_485_760 (10 MiB)
    
    initialStreamWindowSize?: number

    Flow-control receive window for each HTTP/2 stream, in bytes.

    Bounds how much data the server can have in flight on a single read session before the client acknowledges it. Raise this to keep high-throughput reads saturated over high-latency links; S2 read batches can be up to 1 MiB each.

    Must be an integer between 65,535 and 2^31 - 1.

    10_485_760 (10 MiB)