Module: SocketIo::Websocket::Sender
- Included in:
- SocketIo::Websocket
- Defined in:
- lib/socket.io/websocket/sender.rb
Instance Method Summary collapse
Instance Method Details
#ack(calling_packet, options = {}) ⇒ Object
16 17 18 19 20 |
# File 'lib/socket.io/websocket/sender.rb', line 16 def ack(calling_packet, = {}) ack_params = { ack_id: calling_packet.id } ack_params[:args] = [:args] if calling_packet.ackdata? send_ack ack_params end |