Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Request<B>

Request represents an HTTP request.

The URL part is separate from the Request information to allow re-use among different endpoints.

Type parameters

  • B

Hierarchy

  • Request

Implemented by

Index

Properties

Optional body

body: B

body of the request.

Valid only for write requests.

headers

headers to include in the request.

method

method: Method

method of the request.

options

options: Partial<Options>

options for the Request

Optional params

params: Parameters

params of the request.

Valid only for read requests.

path

path: Path

path being requested.

Generated using TypeDoc