@amadeus-it-group/kassette
    Preparing search index...

    Interface HookAPI

    Parameter of the hook callback, that is called for every HTTP request that kassette receives.

    interface HookAPI {
        console: ConsoleSpec;
        mock: IMock;
    }
    Index

    Properties

    Properties

    console: ConsoleSpec

    The console object as specified in the configuration, otherwise it is the global console object (usually the one of the platform).

    mock: IMock

    Provides the API to specify how to handle the HTTP request.