Method: EM::APNS::Connection#receive_data
- Defined in:
- lib/em-apns/connection.rb
#receive_data(data) ⇒ Object
17 18 19 20 21 |
# File 'lib/em-apns/connection.rb', line 17 def receive_data(data) data_array = data.unpack("ccN") error_response = Error.new(*data_array) EM::APNS.logger.info("#{error_response}") end |