PHP Class JAXLSock5, JAXL

Author: abhinavsingh
Mostrar archivo Open project: jaxl/JAXL

Protected Properties

Property Type Description
$ip string
$port string | integer
$transport string

Public Methods

Method 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 ( )

Protected Methods

Method Description
sock_path ( )

Method Details

__construct() public method

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

__destruct() public method

public __destruct ( )

connect() public method

public connect ( string $ip, integer $port = 1080 ) : boolean
$ip string
$port integer
return boolean

negotiate() public method

0xFF => NO ACCEPTABLE METHODS
public negotiate ( )

on_response() public method

public on_response ( $raw )

relay_request() public method

public relay_request ( )

send_data() public method

public send_data ( )

sock_path() protected method

protected sock_path ( )

Property Details

$ip protected_oe property

protected string $ip
return string

$port protected_oe property

protected string|int $port
return string | integer

$transport protected_oe property

protected string $transport
return string