A11 TypeScript API - v0.7.0
    Preparing search index...

    Interface HttpSseOptions

    HTTP endpoints and resource bounds for an SSE client stream.

    interface HttpSseOptions {
        connectEndpoint?: string;
        fetch?: FetchFunction;
        maxConcurrentPosts?: number;
        maxEventSize?: number;
        messageEndpoint?: string;
        requestInit?: Omit<RequestInit, "signal" | "body" | "method" | "headers">;
        streamOptions?: WireStreamOptions;
    }
    Index
    connectEndpoint?: string

    Absolute POST path used to open the inbound text/event-stream response.

    Fetch implementation; defaults to globalThis.fetch.

    maxConcurrentPosts?: number

    Outbound message POSTs kept in flight at once; defaults to 16.

    A11 WireMessages carry no global order, so a message does not have to wait for the one before it to be answered -- and on any real network that wait is the whole outbound throughput ceiling, one message per round trip. Order is still imposed where it matters: everything outstanding is delivered before a half-close, and an abort goes out ahead of whatever is still in flight. Set to 1 to restore strictly serialised delivery.

    maxEventSize?: number

    Maximum UTF-8 bytes accepted in one SSE event.

    messageEndpoint?: string

    Absolute path template containing one {id} for outbound messages.

    requestInit?: Omit<RequestInit, "signal" | "body" | "method" | "headers">

    Extra Fetch options applied without overriding A11 method/body fields.

    streamOptions?: WireStreamOptions

    Wire-level buffering, timeout, and message-size limits.