HTTPStreamRequest: {
    data: StreamRequest;
    headers: Record<string, string | undefined>;
    method: "POST";
    path?: string;
}

An object representing an http request. The Client provides this to the HTTPStreamClient implementation.

Type declaration

  • data: StreamRequest

    The encoded Fauna query to send

  • headers: Record<string, string | undefined>

    Headers in object format

  • method: "POST"

    HTTP method to use

  • Optionalpath?: string

    The path of the endpoint to call if not using the default