Module: Lowdown::Connection::DelegateProtocol
- Defined in:
- lib/lowdown/connection.rb
Overview
This module describes the interface that your delegate object should conform to, but it is not required to include this module in your class, it mainly serves a documentation purpose.
Instance Method Summary collapse
-
#handle_apns_response(response, context:) ⇒ void
Called when a request is finished and a response is available.
Instance Method Details
#handle_apns_response(response, context:) ⇒ void
Note:
It is strongly advised that the delegate object is a Celluloid actor and that you pass in an async proxy of that object, but that is not required. If you do not pass in an actor, then be advised that the callback will run on this connection’s private thread and thus you should not perform long blocking operations.
This method returns an undefined value.
Called when a request is finished and a response is available.
305 306 307 |
# File 'lib/lowdown/connection.rb', line 305 def handle_apns_response(response, context:) raise NotImplementedError end |