@tobegames/core
Version:
Global packages widely used in other projects
14 lines (13 loc) • 471 B
TypeScript
/**
* Created by obert on 21.06.2017.
*/
import { Observable } from "rxjs";
import { MethodType } from "./method-types";
import { IXMLHttpRequestProvider } from "./networking.module";
export declare class NetwrokingService {
private xmlReqProv;
private headers;
constructor(xmlReqProv: IXMLHttpRequestProvider);
ajax(methodType: MethodType, url: string, data: any): Observable<any>;
static methodToString(method: MethodType): string;
}