WindowsPipeConnector
in package
implements
ConnectorInterface
FinalYes
Opt-in native Windows pipe transport via a bundled Node.js helper.
The helper uses libuv for pipe I/O. PHP watches only a loopback TCP socket. Supply an absolute path to a trusted Node.js executable (22 or newer). No RPC protocol or OAuth logic is implemented by this connector.
Tags
Table of Contents
Interfaces
- ConnectorInterface
Properties
- $loop : LoopInterface
- $nodeBinary : string
- $timeout : float
Methods
- __construct() : mixed
- connect() : PromiseInterface<string|int, ConnectionInterface>
Properties
$loop
private
LoopInterface
$loop
$nodeBinary
private
string
$nodeBinary
$timeout
private
float
$timeout
= 5.0
Methods
__construct()
public
__construct(string $nodeBinary[, ?LoopInterface $loop = null ][, float $timeout = 5.0 ]) : mixed
Parameters
- $nodeBinary : string
- $loop : ?LoopInterface = null
- $timeout : float = 5.0
connect()
public
connect(mixed $uri) : PromiseInterface<string|int, ConnectionInterface>
Parameters
- $uri : mixed
Return values
PromiseInterface<string|int, ConnectionInterface> —Native pipe connected, before RPC READY.