MCPcopy
hub / github.com/ionic-team/capacitor / PatchedXMLHttpRequestConstructor

Interface PatchedXMLHttpRequestConstructor

core/native-bridge.ts:616–618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

614
615 // XHR patch
616 interface PatchedXMLHttpRequestConstructor extends XMLHttpRequest {
617 new (): XMLHttpRequest;
618 }
619
620 window.XMLHttpRequest = function () {
621 const xhr = new win.CapacitorWebXMLHttpRequest.constructor();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected