Sha256: ed54c64a8679c10e20145c0c21711a416d7b5aec42ee41544b511ad1deaee993

Contents?: true

Size: 253 Bytes

Versions: 10

Compression:

Stored size: 253 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
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
em-websocket-0.4.0 lib/em-websocket/close03.rb
sonixlabs-em-websocket-0.3.8 lib/em-websocket/close03.rb
sonixlabs-em-websocket-0.3.7 lib/em-websocket/close03.rb
em-websocket-0.3.8 lib/em-websocket/close03.rb
em-websocket-0.3.7 lib/em-websocket/close03.rb
em-websocket-0.3.6 lib/em-websocket/close03.rb
em-websocket-0.3.5 lib/em-websocket/close03.rb
em-websocket-0.3.2 lib/em-websocket/close03.rb
em-websocket-0.3.1 lib/em-websocket/close03.rb
em-websocket-0.3.0 lib/em-websocket/close03.rb