PHP Interface React\Socket\ConnectionInterface

Inheritance: extends Evenement\EventEmitterInterface
Afficher le fichier Open project: reactphp/socket Interface Usage Examples

Méthodes publiques

Méthode Description
getRemoteAddress ( ) : string | null Returns the remote address (client IP) where this connection has been established from

Method Details

getRemoteAddress() public méthode

Returns the remote address (client IP) where this connection has been established from
public getRemoteAddress ( ) : string | null
Résultat string | null remote address (client IP) or null if unknown