PHP 8.0.12 Released!

A classe ZMQSocket

(PECL zmq >= 0.5.0)

Introdução

Sinopse da classe

class ZMQSocket {
/* Métodos */
public bind(string $dsn, boolean $force = false): ZMQSocket
public connect(string $dsn, boolean $force = false): ZMQSocket
__construct(
    ZMQContext $context,
    int $type,
    string $persistent_id = null,
    callback $on_new_socket = null
)
public disconnect(string $dsn): ZMQSocket
public getEndpoints(): array
public getPersistentId(): string
public getSocketType(): integer
public getSockOpt(string $key): mixed
public isPersistent(): boolean
public recv(integer $mode = 0): string
public recvMulti(integer $mode = 0): string
public send(string $message, integer $mode = 0): ZMQSocket
public send(array $message, integer $mode = 0): ZMQSocket
public setSockOpt(integer $key, mixed $value): ZMQSocket
public unbind(string $dsn): ZMQSocket
}

Índice

add a note add a note

User Contributed Notes

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