@flyreq/xhr
v0.1.0
Published
FeiFly flyreq XMLHttpRequest Requestor implementation
Readme
@flyreq/xhr
XMLHttpRequest transport for
flyreq — an implementation of the
Requestor interface from @flyreq/core.
Worth choosing over fetch when you need upload progress events or have to
support an environment without fetch. It is built into
flyreq as the xhr backend.
pnpm add @flyreq/xhr @flyreq/coreUsage
import { createXhrRequestor } from '@flyreq/xhr'
import { bootstrapRequestor } from '@flyreq/bus'
bootstrapRequestor(createXhrRequestor())License
MIT
