Setup
The client sets up Bare Mux, transports, a service work, and core Chemical functions.
Installation
To install the client script, add it to the head of your website.
<head>
<script src="/chemical.js"></script>
</head>
Wisp
You can change the default Wisp server with the data-wisp
attribute.
<script data-wisp="wss://wisp.mercurywork.shop/" src="/chemical.js"></script>
Transport
You can change the default transport with the data-transport
attribute. Use libcurl
or epoxy
.
<script data-transport="epoxy" src="/chemical.js"></script>