$ npm install popsicle-transport-xhr
Popsicle transport for sending requests over
XMLHttpRequest.
npm install popsicle-transport-xhr --save
import { transport } from "popsicle-transport-xhr";
const req = new Request("/");
const res = await transport()(req, done);
The transport function sends the Servie Request to a remote server.
type?: XMLHttpRequestResponseType Override response typewithCredentials?: boolean Enable withCredentialsoverrideMimeType?: string Override MIME typeThis project is written using TypeScript and publishes the definitions directly to NPM.
MIT
© 2010 - cnpmjs.org x YWFE | Home | YWFE