php8.5
Home/ Manual/ event / eventhttpconnection/ EventHttpConnection::setLocalAddress

EventHttpConnection::setLocalAddress

PHP function Edit on GitHub ✎

(PECL event >= 1.2.6-beta)

Sets the IP address from which HTTP connections are made

Description

EventHttpConnection::setLocalAddress(string $address): void

Sets the IP address from which http connections are made.

Parameters

address

The IP address from which HTTP connections are made.

Return Values

Void

See Also

  • EventHttpConnection::setLocalPort

Source: reference/event/eventhttpconnection/setlocaladdress.xml · from the official PHP manual (php/doc-en)