Pedro Melo d7a830f0f8 Refactor _start_recv_frames into smaller methods:
* added _process_incoming_frame to pick the correct frame type processor;
* added _process_success_frame, _process_error_frame and
  _process_message_frame:
  * they should return undef to give up;
  * or any truth value to keep reading frames.
* renamed _on_success_frame to _on_next_success_frame;
* we no longer die on unknown frame types, we just ignore them.

Signed-off-by: Pedro Melo <melo@simplicidade.org>
2014-07-20 17:43:47 +01:00
2014-07-20 13:45:26 +01:00
2014-07-19 21:46:05 +01:00
2014-07-19 21:46:05 +01:00
2014-07-19 21:46:05 +01:00
2014-07-19 21:46:05 +01:00
2014-07-19 21:46:05 +01:00
Description
A AnyEvent-based client for NSQ.io
96 KiB
Languages
Perl 100%