Documentation Index
Fetch the complete documentation index at: https://mintlify.com/MercuryWorkshop/epoxy-tls/llms.txt
Use this file to discover all available pages before exploring further.
EpoxyClientOptions is a plain data class that holds every tunable parameter for an EpoxyClient. Construct it with new EpoxyClientOptions() to get a sensible set of defaults, then set individual fields before passing the instance to the EpoxyClient constructor. Fields are exposed as direct JavaScript properties — there are no getter/setter methods.
Instantiation
ws_title_case_headers and pem_files are only present in the full build (@mercuryworkshop/epoxy-tls/epoxy or epoxy-bundled). They do not exist on the minimal build’s EpoxyClientOptions.Options Reference
Request Wisp protocol version 2 from the server. When
true, the client sends a Wisp v2 negotiation header during the WebSocket handshake. Falls back gracefully if the server does not support v2.Fail the connection if the Wisp server does not advertise the UDP extension. Set to
true when your application relies on connect_udp and you want a hard error rather than a silent fallback.Send HTTP/1.1 request headers in Title-Case (e.g.,
Content-Type instead of content-type). Useful for compatibility with servers that perform case-sensitive header matching.Send WebSocket upgrade request headers in Title-Case. Defaults to
true because many WebSocket servers are sensitive to header casing. Full build only.Additional WebSocket subprotocols to advertise when opening the underlying Wisp transport WebSocket connection. This affects the transport WebSocket, not the application-level WebSocket opened with
connect_websocket.Maximum number of HTTP redirects to follow automatically before returning the final response. This value is copied to
EpoxyClient.redirect_limit at construction time and can be changed on the client instance afterwards.Maximum number of response headers to parse. Responses with more headers than this limit will produce a parse error.
The
User-Agent string sent with every fetch request. Override with navigator.userAgent to match the browser’s own UA, or supply a custom string for your application.List of additional PEM-encoded CA certificate strings to trust when validating TLS connections. Useful for self-signed or private CA certificates. Full build only.
Skip all TLS certificate validation. When set to
true, any certificate — including expired, self-signed, or hostname-mismatched ones — will be accepted.Size in bytes of the internal read buffer used when converting async Rust streams into Web Streams. The default of
16384 (16 KiB) is appropriate for most use cases. Increase for high-throughput connections; decrease to reduce memory usage for many concurrent low-traffic streams.