@libp2p/http
    Preparing search index...

    Interface HTTPRequestOptions

    Options used to control Fetch request and the initial WebSocket upgrade request

    interface HTTPRequestOptions {
        authenticateServer?: boolean;
        maxHeaderSize?: number;
        middleware?: ((components: any) => Middleware)[];
        signal?: AbortSignal;
    }

    Hierarchy (View Summary)

    Index

    Properties

    authenticateServer?: boolean

    If true, verify the server's peer id using PeerId Authentication

    false
    
    maxHeaderSize?: number

    The maximum number of bytes that will be parsed as response headers

    81_920
    
    middleware?: ((components: any) => Middleware)[]

    A list of request processors that can augment requests - if specified will override any processors passed to the http service

    signal?: AbortSignal