Open natedogith1 opened 1 year ago
I wonder if it'd make more sense to add a getHeaders
method, like we do for HTTP responses. Though there's an argument that's a property of the initial connection, rather than the property of the websocket itself. Not sure!
828 added support for specifying subprotocols when creating a websocket, but there's no way to check which protocol the server selected.