class EventMachine::Connection

def receive_data data

Other tags:
    See: file:docs/GettingStarted.md - EventMachine tutorial
    See: #send_data -
    See: #unbind -
    See: #connection_completed -
    See: #post_init -

Other tags:
    Note: - Depending on the protocol, buffer sizes and OS networking stack configuration, incoming data may or may not be "a complete message".

Parameters:
  • data (String) -- Opaque incoming data.
def receive_data data
  puts "............>>>#{data.length}"
end