@apet97/clockify115-sdk - v0.1.0
GitHub
npm
Preparing search index...
composed-fetch
ComposedFetchHooks
Interface ComposedFetchHooks
interface
ComposedFetchHooks
{
beforeRequest
?:
(
ctx
:
RequestContext
)
=>
void
|
Promise
<
void
>
;
afterResponse
?:
(
ctx
:
ResponseContext
)
=>
void
|
Promise
<
void
>
;
onError
?:
(
ctx
:
ErrorContext
)
=>
void
|
Promise
<
void
>
;
onRetry
?:
(
ctx
:
RetryContext
)
=>
void
|
Promise
<
void
>
;
onMetric
?:
(
metric
:
FetchMetric
)
=>
void
|
Promise
<
void
>
;
}
Index
Properties
before
Request?
after
Response?
on
Error?
on
Retry?
on
Metric?
Properties
Optional
before
Request
beforeRequest
?:
(
ctx
:
RequestContext
)
=>
void
|
Promise
<
void
>
Optional
after
Response
afterResponse
?:
(
ctx
:
ResponseContext
)
=>
void
|
Promise
<
void
>
Optional
on
Error
onError
?:
(
ctx
:
ErrorContext
)
=>
void
|
Promise
<
void
>
Optional
on
Retry
onRetry
?:
(
ctx
:
RetryContext
)
=>
void
|
Promise
<
void
>
Optional
on
Metric
onMetric
?:
(
metric
:
FetchMetric
)
=>
void
|
Promise
<
void
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
before
Request
after
Response
on
Error
on
Retry
on
Metric
GitHub
npm
@apet97/clockify115-sdk - v0.1.0
Loading...