graphdb-workbench
Version:
The web application for GraphDB APIs
18 lines (17 loc) • 488 B
TypeScript
export declare class ResponseMock {
private readonly _url;
private _response;
private _status;
private _message;
private _headers?;
constructor(url: string);
getUrl(): string | undefined;
setResponse(value: unknown): this;
getResponse(): unknown;
setStatus(value: number): this;
getStatus(): number;
setMessage(value: string): this;
getMessage(): string | undefined;
getHeaders(): unknown;
setHeaders(headers: unknown): this;
}