@thiagohp/tapestry-5
    Preparing search index...

    Interface ResponseWrapper

    Wrapper around AJAX response objects (for example, jqXHR for jQuery or Ajax.Response for Prototype).

    interface ResponseWrapper {
        json: any;
        header(name: String): null | string;
    }
    Index

    Properties

    Methods

    Properties

    json: any

    The response text, if present, as a JSON object.

    Methods

    • Retrieves a response header by name.

      Parameters

      • name: String

        the name of the header

      Returns null | string

      the value of the header