• Simplified version of jQuery's ajax method based on XMLHttpRequest.

    Uses cordova's http plugin when installed.

    Only supports JSON requests.

    Type Parameters

    • T

    Parameters

    Returns {
        done: ((cb) => void);
    }

    • done: ((cb) => void)
        • (cb): void
        • Parameters

          • cb: (() => void)
              • (): void
              • Returns void

          Returns void