Hacker News new | ask | show | jobs
by tricked 641 days ago
Websockets don't support headers per spec, discord gets around this by using a query paramater though.
1 comments

The initial handshake request is still over regular HTTP, though, which is where I'd assume you'd want to agree upon which content type you'll be sending anyways.