package
Popsicle transport for sending requests over `XMLHttpRequest`
npm install popsicle-transport-xhrGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 1 packages.
23.9 kB
Includes dependencies.
Popsicle transport for sending requests over
XMLHttpRequest.
npm install popsicle-transport-xhr --saveimport { 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