Kraken\Network\NetworkConnectionInterface::getHost PHP Method

getHost() public method

Get the remote host of connection.
public getHost ( ) : string
return string
    public function getHost();

Usage Example

Esempio n. 1
0
 /**
  * @override
  * @inheritDoc
  */
 public function handleError(NetworkConnectionInterface $conn, $ex)
 {
     if (!$this->isAddressBlocked($conn->getHost())) {
         $this->component->handleError($conn, $ex);
     }
 }
All Usage Examples Of Kraken\Network\NetworkConnectionInterface::getHost