(PECL event >= 1.2.6-beta)
EventHttpConnection::setLocalAddress — Sets the IP address from which HTTP connections are made
public EventHttpConnection::setLocalAddress ( string $address ) : void
Sets the IP address from which http connections are made.
address
The IP address from which HTTP connections are made.
No value is returned.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/eventhttpconnection.setlocaladdress.php