Libraries
    Preparing search index...

    Interface ServerOptions

    Configuration options passed to ServerBuilder.listen() or the Server constructor. All fields are optional; sensible defaults are applied.

    interface ServerOptions {
        host?: string;
        https?: { cert: string; key: string };
        maxBodySize?: number;
        port?: number;
    }
    Index

    Properties

    host?: string
    https?: { cert: string; key: string }
    maxBodySize?: number

    Maximum allowed size (in bytes) for incoming request bodies, batch payloads, and WebSocket messages.

    Requests that exceed this limit are rejected with 413 Payload Too Large.

    5_242_880 (5 MB)
    
    port?: number