@switstack/switcloud-api-ts
    Preparing search index...

    Interface Middleware

    interface Middleware {
        onError(context: ErrorContext): Promise<void | Response>;
        post(context: ResponseContext): Promise<void | Response>;
        pre(context: RequestContext): Promise<void | FetchParams>;
    }
    Index

    Methods

    • Parameters

      Returns Promise<void | Response>

    Optionalpost

    • post(context: ResponseContext): Promise<void | Response>

      Parameters

      Returns Promise<void | Response>