Type alias: HttpRequestConfig
HttpRequestConfig:
object
&Pick
<RequestInit
,HttpRequestInitPickKey
>
Context value representing a HTTP request config.
Type declaration
baseURL?
optional
baseURL:string
body?
optional
body:unknown
bodyAs?
optional
bodyAs:BodyAsTransformer
errorTransformers?
optional
errorTransformers:ErrorTransformer
[]
headers?
optional
headers:Dictionary
<string
>
method?
optional
method:HttpMethod
modelPaths?
optional
modelPaths:boolean
params?
optional
params:Dictionary
<any
> |string
path?
optional
path:string
request?
optional
request:Request
requestTransformers?
optional
requestTransformers:RequestTransformer
[]
responseReader?
optional
responseReader:HttpResponseReader
responseTransformers?
optional
responseTransformers:ResponseTransformer
[]