@mercuryworkshop/epoxy-transport
v3.0.1
Published
a bare transport that implements end-to-end encryption with epoxy-tls and wisp
Downloads
15,575
Keywords
Readme
epoxy-transport
epoxy-transport is a transport for bare-mux which allows you to use epoxy-tls in your bare client.
Usage:
Here is a basic example of using epoxy-transport. The Wisp proxy server is specified in the wisp option.
import { EpoxyClient } from "@mercuryworkshop/epoxy-transport";
let client = new EpoxyClient({ wisp: "wss://example.com/wisp/" });
// pass to proxyYou can also use the non-esm build
<script src="https://unpkg.com/@mercuryworkshop/epoxy-transport@3/dist/index.js"></script>
<script>
let client = new EpoxyTransport.EpoxyClient({ wisp: "wss://example.com/wisp/" });
</script>Copyright:
This package is licensed under the GNU AGPL v3.
