Interface: Middleware

Table of contents

Methods

Methods

post

Optional post(context): Promise<void | Response>

Parameters

NameType
contextResponseContext

Returns

Promise<void | Response>


pre

Optional pre(context): Promise<void | FetchParams>

Parameters

NameType
contextRequestContext

Returns

Promise<void | FetchParams>