@edgible-team/sdk
    Preparing search index...

    Interface HttpRequest

    A single API request as it flows through the middleware pipeline to the transport. Resource methods build these; middlewares may transform them.

    interface HttpRequest {
        body?: unknown;
        headers?: Record<string, string>;
        method: HttpMethod;
        path: string;
        query?: Record<string, string | number | boolean | undefined>;
        signal?: AbortSignal;
        timeoutMs?: number;
    }
    Index

    Properties

    body?: unknown

    JSON-serialisable request body; sent as application/json.

    headers?: Record<string, string>

    Request headers; auth/telemetry middlewares add theirs on top.

    method: HttpMethod

    HTTP method; writes (POST/PUT/PATCH/DELETE) get idempotency keys.

    path: string

    Already-versioned path, e.g. '/applications/{id}' (D12).

    query?: Record<string, string | number | boolean | undefined>

    Query string parameters; undefined values are omitted.

    signal?: AbortSignal

    Caller-supplied abort signal for cancellation.

    timeoutMs?: number

    Per-request timeout; overrides the transport default.