Sinch Node.js SDK - v1.5.0
    Preparing search index...

    Interface ApiPlugins

    interface ApiPlugins {
        requestPlugins?: RequestPlugin[];
        responsePlugins?: ResponsePlugin<any, { [key: string]: any }>[];
    }
    Index

    Properties

    requestPlugins?: RequestPlugin[]

    Add more plugins to action on the request before it is sent

    responsePlugins?: ResponsePlugin<any, { [key: string]: any }>[]

    Add more plugins to action on the server response before it is returned in the Promise