EU Parliament Monitor — API Documentation - v0.9.24
    Preparing search index...

    Module MCP/transport/gateway

    MCP Gateway HTTP transport helpers — connection initialisation, request dispatch, response validation, and Authorization header construction.

    Extracted from connection.ts to keep individual file sizes under 600 LOC. Operates on an explicit GatewayContext adapter rather than this.

    Functions

    validateGatewayResponseBody
    buildAuthorizationHeader
    throwGatewayResponseError
    attemptGatewayConnection
    sendGatewayRequest

    Interfaces

    GatewayContext

    Variables

    GATEWAY_REQUEST_TIMEOUT_MS