Mocky Balboa API Reference
    Preparing search index...

    Interface ModifyResponseOptions

    Options when modifying a response

    interface ModifyResponseOptions {
        body?: string;
        headers?: Record<string, string>;
        status?: number;
    }
    Index

    Properties

    body?: string

    Body to set on the response, overrides any body set on the original response

    empty string
    
    headers?: Record<string, string>

    Headers to set on the response, overrides any headers set on the original response

    status?: number

    Status code to set on the response, overrides any status code set on the original response

    200