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