Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 381 Bytes

README.md

File metadata and controls

10 lines (9 loc) · 381 Bytes

CurlTransport

A bare-module for implementing end to end encryption with libcurl.js

Usage

Here is an example of using CurlTransport:

import { BareMuxConnection } from "@mercuryworkshop/bare-mux";
const conn = new BareMuxConnection("/path/to/baremux/worker.js");
await conn.setTransport("/path/to/curltransport/index.mjs", [{ wisp: "wss://wisp.mercurywork.shop/" }]);