Type alias FunctionInvokeOptions

FunctionInvokeOptions: {
    body?: File | Blob | ArrayBuffer | FormData | ReadableStream<Uint8Array> | Record<string, any> | string;
    headers?: {
        [key: string]: string;
    };
    method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
    region?: FunctionRegion;
}

Type declaration

  • Optional body?: File | Blob | ArrayBuffer | FormData | ReadableStream<Uint8Array> | Record<string, any> | string

    The body of the request.

  • Optional headers?: {
        [key: string]: string;
    }

    Object representing the headers to send with the request.

    • [key: string]: string
  • Optional method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE"

    The HTTP verb of the request

  • Optional region?: FunctionRegion

    The Region to invoke the function in.

Generated using TypeDoc