Interface HTTPRequestOption<DataType>

Additional configurations for the HTTP request.

Type Parameters

  • DataType = Record<string, any>

Hierarchy

  • HTTPRequestOption

Properties

Properties

params: Record<string, string>

The parameters to be sent in the request body or url.

headers: Record<string, string>

The HTTP headers to be sent in the request.

data: DataType

The data to be sent in the request body (mainly for POST).

Generated using TypeDoc