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

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

{{^useRxJS6}}
import { Observable } from "rxjs/Observable";
{{/useRxJS6}}
{{#useRxJS6}}
import { Observable, from } from "rxjs";
{{/useRxJS6}}
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
    patch(url:string, body?:{}, headers?: Headers):Observable
    delete(url:string, headers?: Headers):Observable
}

export default IHttpClient




© 2015 - 2024 Weber Informatics LLC | Privacy Policy