Documentation

StaticSocketConnector
in package
implements SocketConnector uses ForbidCloning, ForbidSerialization

FinalYes

Connector that connects to a statically defined URI instead of the URI passed to the {@code connect()} call.

Table of Contents

Interfaces

SocketConnector

Properties

$connector  : SocketConnector
$uri  : SocketAddress|string

Methods

__construct()  : mixed
__serialize()  : never
__unserialize()  : never
connect()  : Socket
Establish a socket connection to the specified URI.
__clone()  : mixed

Properties

Methods

__unserialize()

public final __unserialize(array<string|int, mixed> $data) : never
Parameters
$data : array<string|int, mixed>
Return values
never

        
On this page

Search results