# File lib/em-websocket/close05.rb, line 4defclose_websocket(code, body)
# TODO: Ideally send body data and check that it matches in acksend_frame(:close, "\x53")
@state = :closingend
supports_close_codes?()click to toggle source
# File lib/em-websocket/close05.rb, line 10defsupports_close_codes?; false; end