ionic-native-http-connection-backend
Version:
A solution to CORS problem with Ionic and WKWebView
12 lines (11 loc) • 533 B
TypeScript
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>;
}