All Downloads are FREE. Search and download functionalities are using the official Maven repository.

typescript-inversify.IHttpClient.mustache Maven / Gradle / Ivy

There is a newer version: 3.0.0-rc1
Show newest version
import { Observable } from "rxjs/Observable";
import HttpResponse from "./HttpResponse";
import { Headers } from "./Headers";

interface IHttpClient {
    get(url:string, headers?: Headers):Observable
    post(url:string, body:{}|FormData, headers?: Headers):Observable
    put(url:string, body:{}, headers?: Headers):Observable
    delete(url:string, headers?: Headers):Observable
}

export default IHttpClient




© 2015 - 2024 Weber Informatics LLC | Privacy Policy