Documents / @faasjs/http / useHttp
Function: useHttp()
useHttp<
TParams
,TCookie
,TSession
>(config
?):UseifyPlugin
<Http
<TParams
,TCookie
,TSession
>>
Type Parameters
• TParams extends Record
<string
, any
> = any
• TCookie extends Record
<string
, string
> = any
• TSession extends Record
<string
, string
> = any
Parameters
• config?: HttpConfig
<TParams
, TCookie
, TSession
>
Returns
UseifyPlugin
<Http
<TParams
, TCookie
, TSession
>>