@vectorize-io/vectorize-client
Preparing search index...
Middleware
Interface Middleware
interface
Middleware
{
onError
(
context
:
ErrorContext
)
:
Promise
<
void
|
Response
>
;
post
(
context
:
ResponseContext
)
:
Promise
<
void
|
Response
>
;
pre
(
context
:
RequestContext
)
:
Promise
<
void
|
FetchParams
>
;
}
Index
Methods
on
Error?
post?
pre?
Methods
Optional
on
Error
onError
(
context
:
ErrorContext
)
:
Promise
<
void
|
Response
>
Parameters
context
:
ErrorContext
Returns
Promise
<
void
|
Response
>
Optional
post
post
(
context
:
ResponseContext
)
:
Promise
<
void
|
Response
>
Parameters
context
:
ResponseContext
Returns
Promise
<
void
|
Response
>
Optional
pre
pre
(
context
:
RequestContext
)
:
Promise
<
void
|
FetchParams
>
Parameters
context
:
RequestContext
Returns
Promise
<
void
|
FetchParams
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
on
Error
post
pre
@vectorize-io/vectorize-client
Loading...