略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: ZMQContext

2024-12-21

The ZMQContext class

(PECL zmq >= 0.5.0)

简介

类摘要

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
}

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.zmqcontext.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3