Hierarchy

  • RawRequest

Properties

method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH"

the method of the request

path: string

the path of the request

requestBody: undefined | string | FormData

the body sent with the request

responseBody: null | string | Buffer | Record<string, unknown>

the body we received

route: string

the name of the route used in the request

withAuth: boolean

if the request used authorization