EventHttpConnection::setLocalAddress

(PECL event >= 1.2.6-beta)

EventHttpConnection::setLocalAddressSets 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.

返回值

没有返回值。

参见