_connectionInfo
(API version 2.0)WDS_ConnectionInfo _connectionInfo ( string kodf , string username , string pass )
Description
Returns information about connection (for debugging)
Parameters
- string kodf
- Company code
- string username
- Login username
- string pass
- Login password
Return value
WDS_ConnectionInfo
-
string
ip
IP address of client
-
string
agent
User agent sent by client
-
int
encrypted
Whether connection is encrypted, 0 = no (http), 1 = yes (https)
-
string
protocol
Used protocol (e.g. TLSv1.2)
-
string
cipher
Used cipher (e.g. ECDHE-RSA-AES128-GCM-SHA256)
Examples
API version 2.0
$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl'); $return = $client->_connectionInfo($kodf, $username, $pass);
Test
To test the function, enter parameters in form below and press Try it out button.