Skip to content Skip to sidebar Skip to footer

How To Send Request Header To Jetty Websocket From Javascript Client

How To Send Request Header To Jetty WebSocket From JavaScript Client ? What I am doing ? At Client Side. Need To add service name and service version in request header at client

Solution 1:

Unfortunately, you can't. The standard WebSocket JavaScript API does not provide means to customize HTTP headers. See also this document at heroku dev center.


Post a Comment for "How To Send Request Header To Jetty Websocket From Javascript Client"