Beignet API reference
    Preparing search index...

    Interface HttpResponseLike

    Framework-neutral response object returned by route handlers and hooks.

    interface HttpResponseLike {
        body?: unknown;
        headers?: Record<string, string>;
        status: number;
    }
    Index

    Properties

    Properties

    body?: unknown

    JSON-serializable body or an adapter-specific body value.

    headers?: Record<string, string>

    Response headers.

    status: number

    HTTP status code.