Class Connector
The Connector class is the main class in this package that
implements the ConnectorInterface and allows you to create
streaming connections.
You can use this connector to create any kind of streaming connections, such as plaintext TCP/IP, secure TLS or local Unix connection streams.
Under the hood, the Connector is implemented as a
higher-level facade or the lower-level connectors implemented in this
package. This means it also shares all of their features and implementation
details. If you want to typehint in your higher-level protocol implementation,
you SHOULD use the generic
[ConnectorInterface](#connectorinterface) instead.
- React\Socket\Connector implements React\Socket\ConnectorInterface
Final
Namespace: React\Socket
See: ConnectorInterface for the base interface
Located at Connector.php
Namespace: React\Socket
See: ConnectorInterface for the base interface
Located at Connector.php
public
|
|
public
React\Promise\PromiseInterface
|