gmarler

Catalyst WebSocket Wireshark Output

Oct 21st, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. Here's what the TCP transaction between the Javascript client in the browser, and the Catalyst Controller looks like - the browser does all the talking, the Server Controller does not respond:
  2.  
  3. GET /ioasync/echo/ws HTTP/1.1
  4. Host: localhost:5000
  5. User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:31.0) Gecko/20100101 Firefox/31.0
  6. Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  7. Accept-Language: en-US,en;q=0.5
  8. Accept-Encoding: gzip, deflate
  9. Sec-WebSocket-Version: 13
  10. Origin: http://localhost:5000
  11. Sec-WebSocket-Key: 2UNOZ2l+e8E0SMeGb8iyzw==
  12. Connection: keep-alive, Upgrade
  13. Pragma: no-cache
  14. Cache-Control: no-cache
  15. Upgrade: websocket
Advertisement
Add Comment
Please, Sign In to add comment