@caffedpkg/microcore / createHttpClient
createHttpClient(
defaultParams
):object
Name: createHttpClient Description: Per path/resource HttpClient factory Function:
HttpClientParams
& MiddlewareParams
HttpClientParams
object
HTTP method factories based of default params
connect: (
params
?) =>Promise
<(requestInit
?) =>Promise
<any
>>
Promise
<(requestInit
?) => Promise
<any
>>
delete: (
params
?) =>Promise
<(requestInit
?) =>Promise
<any
>>
Promise
<(requestInit
?) => Promise
<any
>>
get: (
params
?) =>Promise
<(requestInit
?) =>Promise
<any
>>
Promise
<(requestInit
?) => Promise
<any
>>
head: (
params
?) =>Promise
<(requestInit
?) =>Promise
<any
>>
Promise
<(requestInit
?) => Promise
<any
>>
options: (
params
?) =>Promise
<(requestInit
?) =>Promise
<any
>>
Promise
<(requestInit
?) => Promise
<any
>>
patch: (
params
?) =>Promise
<(requestInit
?) =>Promise
<any
>>
Promise
<(requestInit
?) => Promise
<any
>>
post: (
params
?) =>Promise
<(requestInit
?) =>Promise
<any
>>
Promise
<(requestInit
?) => Promise
<any
>>
put: (
params
?) =>Promise
<(requestInit
?) =>Promise
<any
>>
Promise
<(requestInit
?) => Promise
<any
>>
trace: (
params
?) =>Promise
<(requestInit
?) =>Promise
<any
>>
Promise
<(requestInit
?) => Promise
<any
>>