# File lib/em-websocket/connection.rb, line 23 def trigger_on_open(handshake) @onopen.call(handshake) if defined? @onopen end