UNPKG

ulises-ionic-native-http-connection-backend

Version:
11 lines (10 loc) 440 B
import { HttpBackend, HttpEvent, HttpRequest } from '@angular/common/http'; import { HTTP } from '@ionic-native/http'; import { Observable } from 'rxjs/Observable'; export declare class NativeHttpBackend implements HttpBackend { private nativeHttp; constructor(nativeHttp: HTTP); handle(req: HttpRequest<any>): Observable<HttpEvent<any>>; private detectDataSerializerType(req); private getBodyParams(query); }