bare-mux
Bare mux is system for managing http transports in a project such as Ultraviolet and Scramjet. It is responsible for whether Libcurl, Epoxy, Bare as module v3, or any other transport is used in those projects.
Written to make the job of creating new standards for transporting http data seamless.
Implements the TompHTTP Bare client interface in a modular way.
Specifically, this is what allows proxies such as Nebula to switch HTTP transports seamlessly.
A transport is a module that implements the BareTransport
interface.
A guide to making a transport can be found here.
Upgrading
A guide for updating from v1 to v2 can be found here.
Older bare-mux versions
Starting from v2, bare-mux uses SharedWorkers to provide stability and improve on resource usage.
If you operate using an older bare-mux, we encourage you to update.
If you’re too lazy to do either of the above, you can install an outdated and unsupported version of bare-mux.
Usage
Examples of transports include EpoxyTransport, CurlTransport, and Bare-Client.
Here is an example of using bare-mux:
This was written largely by https://github.com/r58playz & https://github.com/percslol