Represents an HTTP request config. This is the basis for actual request configurations and request configurations with origins.

Hierarchy

  • HttpRequestConfigBase

Indexable

[key: string]: any

Properties

data?: any

Data sent in the request body.

httpAgent?: any

The custom agent used when performing http requests.

httpsAgent?: any

The custom agent used when performing https requests.

maxContentLength?: number

The max size of the http response content in bytes.

method: Method

The request method used when making the request.

parameterEncoder?: ParameterEncoder

Encoder for the query parameters key and values. Per default parameters and keys are percent encoded.

proxy?: false

proxy of axios is disabled in http-client. Proxy can be set with ProxyConfiguration.

timeout?: number

The number of milliseconds before the request times out.

url?: string

Server URL that will be used for the request. Relative url can be used together with baseURL.

Copyright Ⓒ 2023 SAP SE or an SAP affiliate company. All rights reserved.