@grafctory/http - v0.9.0
    Preparing search index...

    Module transport

    Custom fetch transport middleware.

    Routes every exchange through a given Fetch implementation, in place of the standard function createFetch would otherwise delegate to.

    Usage

    import { createFetch } from "@grafctory/http";
    import { transport } from "@grafctory/http/transport";

    const client = createFetch(transport(custom));
    transport

    Creates a middleware routing exchanges through a given fetch implementation.