create sender attached to given event loop using the given connectors
public static createFromLoopConnectors ( React\EventLoop\LoopInterface $loop, React\SocketClient\ConnectorInterface $connector, React\SocketClient\ConnectorInterface $secureConnector = null ) : self | ||
$loop | React\EventLoop\LoopInterface | |
$connector | React\SocketClient\ConnectorInterface | default connector to use to establish TCP/IP connections |
$secureConnector | React\SocketClient\ConnectorInterface | secure connector to use to establish TLS/SSL connections (optional, composed from given default connector) |
Résultat | self |