PHP Class JAXLSock5, JAXL

Author: abhinavsingh
Afficher le fichier Open project: jaxl/JAXL

Protected Properties

Свойство Type Description
$ip string
$port string | integer
$transport string

Méthodes publiques

Méthode Description
__construct ( string $transport = 'tcp' )
__destruct ( )
connect ( string $ip, integer $port = 1080 ) : boolean
negotiate ( ) 0xFF => NO ACCEPTABLE METHODS
on_response ( $raw )
relay_request ( )
send_data ( )

Méthodes protégées

Méthode Description
sock_path ( )

Method Details

__construct() public méthode

public __construct ( string $transport = 'tcp' )
$transport string

__destruct() public méthode

public __destruct ( )

connect() public méthode

public connect ( string $ip, integer $port = 1080 ) : boolean
$ip string
$port integer
Résultat boolean

negotiate() public méthode

0xFF => NO ACCEPTABLE METHODS
public negotiate ( )

on_response() public méthode

public on_response ( $raw )

relay_request() public méthode

public relay_request ( )

send_data() public méthode

public send_data ( )

sock_path() protected méthode

protected sock_path ( )

Property Details

$ip protected_oe property

protected string $ip
Résultat string

$port protected_oe property

protected string|int $port
Résultat string | integer

$transport protected_oe property

protected string $transport
Résultat string