Interface SkillHttpRequestOptions

Hierarchy

  • SkillHttpRequestOptions

Index

Properties

Optional headers

headers: any

headers the HTTP headers to be sent with the request

Optional mtlsOptions

mtlsOptions provides the necessary information, including the common name (CN) and the Certificate Authority (CA), to establish an MTLS connection using HttpPowers. This information is crucial for verifying the server's identity and establishing a secure connection. Note: This will only work with endpoints that accept the Andi Platforms' mtls.andi.com X509 certificate for MTLS connections.

Optional params

params: any

params are the URL parameters to be sent with the request Must be a plain object or a URLSearchParams object

Optional responseType

responseType: SkillHttpResponseType

responseType indicates the type of data that the server will respond with Defaults to json

Optional retryOptions

retryOptions: SkillHttpRetryOptions

Configures the HTTP call to retry on failure.

Optional timeout

timeout: number

timeout specifies the number of milliseconds before the request times out. If the request takes longer than timeout, the request will be aborted and throw an error.

Generated using TypeDoc