Interface ParsedResponse<T>

parsed mock batch response

interface ParsedResponse {
    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>

Generated using TypeDoc