class EventMachine::Connection

def send_data data

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

Parameters:
  • data (String) -- Data to send asynchronously
def send_data data
  data = data.to_s
  size = data.bytesize if data.respond_to?(:bytesize)
  size ||= data.size
  EventMachine::send_data @signature, data, size
end