Kraken\Network\NetworkConnectionInterface::getHost PHP 메소드

getHost() 공개 메소드

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

Usage Example

예제 #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