AnyEvent-JSONRPC-Lite

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

Revision history for Perl extension AnyEvent::JSONRPC::Lite

0.15  2011-12-09T07:06:52+09:00
      - fix missing dependency: Test::Exception

0.14  2011-12-08T06:54:56+09:00
      - fix that test sometimes fail in 64bit int support environment (RT: #65014)

0.13  2010-10-31T15:40:21+09:00
      - preserve guard object to unbind server socket (cho45++)

0.12  2010-05-28T11:35:58+09:00
      - fix a documentation bug (tokuhirom++)

0.11001 2009-09-03T17:57:54+09:00
      - fix pod spell and its test (tokuhirom++)
      - depends latest AnyEvent
      - add recommends line for JSON::XS

0.11  2009-09-03T15:23:56+09:00

MANIFEST  view on Meta::CPAN

META.yml
README
t/00_compile.t
t/client_error.t
t/disconnect.t
t/disconnect_server.t
t/mix_request.t
t/multi_connection.t
t/simple_echo.t
t/simple_echo_dsl.t
t/unbind.t
xt/pod.t
xt/pod_coverage.t
xt/pod_spell.t

lib/AnyEvent/JSONRPC/Lite/Server.pm  view on Meta::CPAN

Available C<%options> are:

=over 4

=item port => 'Int | Str'

Listening port or path to unix socket (Required)

=item address => 'Str'

Bind address. Default to undef: This means server binds all interfaces by default.

If you want to use unix socket, this option should be set to "unix/"

=item on_error => $cb->($handle, $fatal, $message)

Error callback which is called when some errors occurred.
This is actually L<AnyEvent::Handle>'s on_error.

=item on_eof => $cb->($handle)



( run in 1.009 second using v1.01-cache-2.11-cpan-2398b32b56e )