Interface XHR

interface XHR {
    abort(reason?: string): void;
    buildRequest(path: string, options: XHRFetchOptions): void;
    fetch<T>(path: string, options?: XHRFetchOptions): Promise<any>;
    reset(): void;
}

Methods

  • Parameters

    • Optionalreason: string

    Returns void