Documentation
    Preparing search index...

    Configuration options for HTTP response handling and processing

    type ResponseConfig = {
        etag: boolean;
        jsonpCallbackName: string;
        cookie: Partial<CookieOptions>;
    }
    Index

    Properties

    etag: boolean

    Whether or not to generate etags for responses. Etags can be enabled/disabled when sending response as well.

    Defaults to false

    jsonpCallbackName: string

    The callback name for the JSONP response.

    Defaults to 'callback'

    cookie: Partial<CookieOptions>

    Default options to apply when setting cookies