Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface HttpRequestOptionsWithBody

Options for a HTTP request with a body.

Hierarchy

Index

Properties

Optional body

The body to send.

Optional doNotNormalizeHeaders

doNotNormalizeHeaders: boolean

Do not normalize the names of HTTP request headers.

Optional encoding

encoding: string

The custom string encoding for the input body to use.

Optional headers

headers: any

The custom headers to send.

Optional socket

socket: string

The path to the (UNIX) socket.

Optional timeout

timeout: number

Custom request timeout.

Generated using TypeDoc