trc-httpshim
Version:
8 lines (7 loc) • 388 B
TypeScript
import * as common from './common';
export declare class HttpClient {
private _protocol;
private _hostname;
constructor(protocol: string, hostName: string);
sendAsync(verb: string, path: string, body: any, authHeader: string, geo: common.IGeoPoint, onSuccess: (result: any) => void, onFailure: (statusCode: common.ITrcError) => void, contentType?: string): void;
}