@microsoft.azure/autorest.testserver
Version:
Autorest test server.
20 lines (19 loc) • 603 B
TypeScript
import { RequestExt } from "../server";
import { RequestExpectation } from "./request-expectation";
export declare const BODY_NOT_EQUAL_ERROR_MESSAGE = "Body provided doesn't match expected body.";
export declare class MockRequest {
originalRequest: RequestExt;
readonly expect: RequestExpectation;
readonly baseUrl: string;
readonly headers: {
[key: string]: string;
};
readonly query: {
[key: string]: string | string[];
};
readonly params: {
[key: string]: string;
};
readonly body: any;
constructor(originalRequest: RequestExt);
}