3 ms·
Websockets don't support headers per spec, discord gets around this by using a query paramater though.
by tricked 2y ago
Websockets don't support headers per spec, discord gets around this by using a query paramater though.
- xx_ns 2y agoThe 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.