Interface ParsedResponse<T>

parsed mock batch response

interface ParsedResponse<T> {
    headers: {
        [key: string]: string;
    };
    json: (() => Promise<BatchPlainODataResponse<T>>);
    status: number;
    statusText: string;
    text: (() => Promise<string>);
}

Type Parameters

  • T = any

Properties

headers: {
    [key: string]: string;
}

Type declaration

  • [key: string]: string
json: (() => Promise<BatchPlainODataResponse<T>>)

Type declaration

status: number
statusText: string
text: (() => Promise<string>)

Type declaration

    • (): Promise<string>
    • Returns Promise<string>