EU Parliament Monitor — API Documentation - v1.0.27
    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.

    validateGatewayResponseBody
    buildAuthorizationHeader
    throwGatewayResponseError
    attemptGatewayConnection
    sendGatewayRequest
    GatewayContext
    GATEWAY_REQUEST_TIMEOUT_MS