Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HttpRequest

Definition for an outgoing HTTP request.

The request may be transformed (ex: signing the request) before its data is eventually sent.

Hierarchy

Index

Constructors

Properties

Constructors

constructor

Properties

body

Optional body as a stream

Readonly headers

headers: HttpHeaders

Optional headers.

method

method: string

HTTP request method (verb). Default value is "GET".

path

path: string

HTTP path-and-query value. Default value is "/".

Generated using TypeDoc