Swoole\Client::__construct

(PECL swoole >= 1.9.0)

Swoole\Client::__constructCrea un cliente TCP/UDP síncrono o asíncrono Swoole, con o sin SSL.

Descripción

public Swoole\Client::__construct(int $sock_type, int $is_async = ?)

Parámetros

sock_type

El tipo de socket: SWOOLE_TCP, SWOOLE_UDP, SWOOLE_ASYNC, SWOOLE_SSL, SWOOLE_KEEP.

is_async

Cliente síncrono o asíncrono.

add a note

User Contributed Notes

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