PHP 7.4.22 Released!

The ZMQContext class

(PECL zmq >= 0.5.0)

Introduction

Class synopsis

class ZMQContext {
/* Methods */
public __construct(int $io_threads = 1, bool $is_persistent = true)
public getOpt(string $key): mixed
public getSocket(int $type, string $persistent_id = null, callable $on_new_socket = null): ZMQSocket
public isPersistent(): bool
public setOpt(int $key, mixed $value): ZMQContext
}

Table of Contents

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top