Sha256: 9bfd5d23f8c6f9e17c3ed993e33181e3398ba88898add84ebe3345461800720c
Contents?: true
Size: 326 Bytes
Versions: 8
Compression:
Stored size: 326 Bytes
Contents
module EventMachine module WebSocket module Close03 def close_websocket(code, body) # TODO: Ideally send body data and check that it matches in ack send_frame(:close, '') @state = :closing start_close_timeout end def supports_close_codes?; false; end end end end
Version data entries
8 entries across 8 versions & 2 rubygems