ngx-restful-client
Version:
The ultimate Angular library to exquisitely declare and implement the REST APIs you'll use in your application.
14 lines (13 loc) • 556 B
TypeScript
import { HttpClient } from '@angular/common/http';
import { HttpMethod } from '../http-method';
import { HttpOptions, ResponseObserve } from '../../core';
export declare class HttpPost<T> extends HttpMethod<T> {
protected readonly path: string;
protected readonly http: HttpClient;
private readonly _body;
private readonly options;
constructor(path: string, http: HttpClient, _body?: any, options?: HttpOptions);
arraybuffer(): ResponseObserve<ArrayBuffer>;
blob(): ResponseObserve<Blob>;
text(): ResponseObserve<string>;
}