SocketConfig
final class SocketConfig extends AbstractSocketConfig (View source)
CNR SocketConfig
Properties
| protected string | $login | account name |
from AbstractSocketConfig |
| protected string | $pw | account password |
from AbstractSocketConfig |
| protected string | $oteUrl | ||
| protected string | $liveUrl | ||
| protected int | $socketTimeout | ||
| protected bool | $needsIDNConvert | ||
| protected string | $roleSeparator |
Methods
Set account name to use
Set account password to use
Get API Session ID in use
Set API Session ID to use
Add persistent parameter to request (request API session)
Get persistent parameter returned
Get POST data container of connection data
Create POST data string out of connection data
Details
AbstractSocketConfig
setLogin(string $value)
Set account name to use
string
getLogin()
Get current login
AbstractSocketConfig
setPassword(string $value)
Set account password to use
string
getSession()
Get API Session ID in use
AbstractSocketConfig
setSession(string $value = "")
Set API Session ID to use
AbstractSocketConfig
setPersistent(bool $value = false)
Add persistent parameter to request (request API session)
bool
getPersistent()
Get persistent parameter returned
string
getOTEUrl()
Get OT&E endpoint URL
string
getLiveUrl()
Get LIVE endpoint URL
int
getSocketTimeout()
Get socket timeout in seconds
bool
getNeedsIDNConvert()
Get whether IDN conversion is needed
string
getRoleSeparator()
Get role separator character
protected array
getPOSTDataParams(array $command, bool $secured)
Get POST data container of connection data
string
getPOSTData(array $command = [], bool $secured = false)
Create POST data string out of connection data