How to access Websocket Response Headers in Javascript? -


i need access response header javascript websocket connection. there way access these response header? or @ least response code?

i have access event of onclose, onerror, onopen few (unusable - purposes) properties!

you can't. there no functionality @ moment. point of websockets not http communication. http used handshake.

https://developer.mozilla.org/en-us/docs/web/api/websocket


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -