PHP » GoLang |
login |
register |
about
|
GoLang ZMQContext::__construct
request it (291)
GoLang replacement for PHP's ZMQContext::__construct
[edit | history]
ZMQContext::__construct(PECL zmq >= 0.5.0) ZMQContext::__construct — Construct a new ZMQContext object Description
ZMQContext::__construct
([ int
$io_threads = 1
[, bool $is_persistent = TRUE
]] )Constructs a new ZMQ context. The context is used to initialize sockets. A persistent context is required to initialize persistent sockets. Parameters
Examples
Example #1 A ZMQContext() example Construct a new context and allocate request socket from it
<?php Return ValuesThrows ZMQContextException if context initialization fails. |
more
Recently updated
more
Most requested
more
Last requests
|