Search
Preparing search index...
The search index is not available
rativ
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
rativ
api/rest
RestOptions
Interface RestOptions<P>
Type Parameters
P =
any
Hierarchy
Omit
<
HttpConfigs
<
P
>
,
"baseUrl"
>
RestOptions
Index
Properties
body
convert
Payload
To
dismiss
Errors
driver
extra
headers
method
params
query
retry
Methods
on
Error
Properties
Optional
body
body
?:
OptionFactory
<
P
,
undefined
|
null
|
{}
>
Optional
convert
Payload
To
convert
Payload
To
?:
"body"
|
"query"
|
"params"
Optional
dismiss
Errors
dismiss
Errors
?:
boolean
Optional
driver
driver
?:
HttpDriver
Custom HTTP driver
Optional
extra
extra
?:
any
Optional
headers
headers
?:
OptionFactory
<
P
,
Dictionary
<
any
>
>
Default headers for all HTTP requests
Optional
method
method
?:
HttpMethod
Optional
params
params
?:
OptionFactory
<
P
,
Dictionary
<
any
>
>
Optional
query
query
?:
OptionFactory
<
P
,
Dictionary
<
any
>
>
Optional
retry
retry
?:
boolean
|
RetryOptions
Methods
Optional
on
Error
on
Error
(
error
:
RestError
)
:
void
Parameters
error:
RestError
Returns
void
Modules
api
api/rest
hydration
main
mutation
react
saga
styled
Rest
Options
body
convert
Payload
To
dismiss
Errors
driver
extra
headers
method
params
query
retry
on
Error
Generated using
TypeDoc
Custom HTTP driver