TESSA Web API
    Preparing search index...

    Interface IHttpExecutor

    interface IHttpExecutor {
        arrayBuffer: () => Promise<ArrayBuffer>;
        blob: () => Promise<Blob>;
        blobAndResponse: () => Promise<[Blob, HttpResponse]>;
        execute: () => Promise<void>;
        formData: () => Promise<FormData>;
        formDataAndResponse: () => Promise<[FormData, HttpResponse]>;
        getRequest: () => Promise<Request>;
        json: <T = IStorage>() => Promise<T>;
        response: () => Promise<HttpResponse>;
        text: () => Promise<string>;
        typedJson: <T = IStorage>(useTypedField?: boolean) => Promise<T>;
        typedJsonOrNull: <T = IStorage>(
            useTypedField?: boolean,
        ) => Promise<null | T>;
        jsonOrNull<T = IStorage>(): Promise<null | T>;
    }

    Implemented by

    Index

    Properties

    arrayBuffer: () => Promise<ArrayBuffer>
    blob: () => Promise<Blob>
    blobAndResponse: () => Promise<[Blob, HttpResponse]>
    execute: () => Promise<void>
    formData: () => Promise<FormData>
    formDataAndResponse: () => Promise<[FormData, HttpResponse]>
    getRequest: () => Promise<Request>
    json: <T = IStorage>() => Promise<T>
    response: () => Promise<HttpResponse>
    text: () => Promise<string>
    typedJson: <T = IStorage>(useTypedField?: boolean) => Promise<T>
    typedJsonOrNull: <T = IStorage>(useTypedField?: boolean) => Promise<null | T>

    Methods

    • Type Parameters

      Returns Promise<null | T>