(protocol, urlPath)
| 269 | } |
| 270 | |
| 271 | function generateWsUrl(protocol, urlPath) { |
| 272 | return protocol === 'wss' ? WSS_SERVER_BASE + urlPath : WS_SERVER_BASE + urlPath; |
| 273 | } |
| 274 | |
| 275 | /* |
| 276 | * verify if the request data is a valid proxy request, by checking specified header |