UNPKG

ionic-native-http-connection-backend

Version:
12 lines (11 loc) 533 B
import { HttpBackend, HttpEvent, HttpRequest } from '@angular/common/http'; import { HTTP } from '@awesome-cordova-plugins/http/ngx'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class NativeHttpBackend implements HttpBackend { private nativeHttp; constructor(nativeHttp: HTTP); handle(req: HttpRequest<any>): Observable<HttpEvent<any>>; static ɵfac: i0.ɵɵFactoryDeclaration<NativeHttpBackend, never>; static ɵprov: i0.ɵɵInjectableDeclaration<NativeHttpBackend>; }