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