vbmithr / ocaml-websocket

Websocket library for OCaml
ISC License
163 stars 44 forks source link

Skip close code when pushing contents to client. #29

Closed j0sh closed 9 years ago

j0sh commented 9 years ago

Propagating the close code to the client via the payload is not allowed according to RFC6455 Section 5.5.1.

Instead, the returned close code can be checked with the Close_status opcode.