websocket-rs 0.1.3

Designed for https://github.com/euvoor/hawk
Documentation

Designed for HAWK

Example


TODO

  • [*] Handle errors properly
  • Receive opcode TEXT
  • Pong when Ping is received
  • Handle all payload lengths (le 125, =126, =127)
  • Mask key
  • Close websocket connection
  • Read fragmented frames
  • Extract websocket to its own crate
  • Add binary support
  • Send fragmented frames when the size reaches a treshold
  • Schedule ping/pong
  • Pong with application data included in ping
  • Keep track of connected clients