Interface SkillHttpRequestOptions

Hierarchy

  • SkillHttpRequestOptions

Index

Properties

Optional headers

headers: any

headers the HTTP headers to be sent with the request

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