Skip to main content

Function: useSecurePostPutPatch

▸ Const useSecurePostPutPatch<T>(url, method, options?): [(body: T, extraOptions?: AppExtraFetchOptions<T>) => Promise<void>, boolean]

Type parameters​

NameType
Tany

Parameters​

NameType
urlstring
methodFetchMethod
optionsAppFetchOptions<T>

Returns​

[(body: T, extraOptions?: AppExtraFetchOptions<T>) => Promise<void>, boolean]

Defined in​

onekijs/packages/onekijs-framework/src/fetch/useSecurePostPutPatch.ts:6