2018-06-13 20:34:49 +00:00
|
|
|
/// <reference types="node" />
|
2017-01-28 23:51:47 +00:00
|
|
|
import * as interfaces from './smartrequest.interfaces';
|
2018-06-13 20:34:49 +00:00
|
|
|
import { IncomingMessage } from 'http';
|
|
|
|
export interface extendedIncomingMessage extends IncomingMessage {
|
|
|
|
body: any;
|
|
|
|
}
|
2018-06-13 21:12:37 +00:00
|
|
|
export declare let request: (domainArg: string, optionsArg?: interfaces.ISmartRequestOptions, streamArg?: boolean) => Promise<extendedIncomingMessage>;
|