@voidmerge/doc
    Preparing search index...

    Class RequestFn

    Incoming function handler request.

    • If the request is malformed or errors, throw an exception.
    • If the request succeeds, return ResponseFnOk.
    Index

    Constructors

    Properties

    Constructors

    • Construct a new function request.

      Parameters

      • input: {
            body?: Uint8Array<ArrayBufferLike>;
            headers: { [header: string]: string };
            method: string;
            path: string;
        }

      Returns RequestFn

    Properties

    body: Uint8Array

    If this was a "PUT" request, the passed in body.

    headers: { [header: string]: string }

    Any headers passed in along with the request.

    method: string

    The method of the request ("GET", or "PUT").

    path: string

    The path of the request (will not include the context).

    type: "fnReq"

    Type marker.