The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::Async::ZMQ::Socket - Use a ZMQ socket asynchronously using IO::Async

VERSION

version 0.002

DESCRIPTION

A subclass of IO::Async::Handle that works with ZMQ sockets.

It currently handles sockets from ZMQ::LibZMQ3, ZMQ::LibZMQ4, and ZMQ::FFI on both Unix-like systems and Windows.

EXTENDS

METHODS

configure

  method configure( %params )

socket

  method socket()

Returns the underlying ZMQ socket. See the socket parameter.

PARAMETERS

socket

A ZMQ socket.

Takes the type

  InstanceOf['ZMQ::LibZMQ3::Socket']
  | InstanceOf['ZMQ::LibZMQ4::Socket']
  | ConsumerOf['ZMQ::FFI::SocketRole']

AUTHOR

Zakariyya Mughal <zmughal@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Zakariyya Mughal.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.