theANDYMT
Deno2y ago
theANDYM

Headers for WebSocket client

I need to connect Deno (as a client) to a WebSocket server that requires custom headers on connection. I can't seem to find any currently supported method to accomplish this since the
WebSocket
API only allows for the
url
and
protocols
parameters.

Is there any known best practice to accomplish this?
Was this page helpful?