EventHttpConnection::getPeer
PHP function
Edit on GitHub ✎
(PECL event >= 1.2.6-beta)
Gets the remote address and port associated with the connection
Description
EventHttpConnection::getPeer(string $address, int $port): void
Gets the remote address and port associated with the connection
Parameters
addressAddress of the peer.
portPort of the peer.
Return Values
Void