IXR_ClientSSL
Client for communicating with a XML-RPC Server over HTTPS.
- Full name:
\IXR_ClientSSL
- Parent class:
\IXR_Client
Properties
_certFile
Filename of the SSL Client Certificate
_caFile
Filename of the SSL CA Certificate
_keyFile
Filename of the SSL Client Private Key
_passphrase
Passphrase to unlock the private key
Methods
__construct
Constructor
public __construct(string $server, mixed $path = false, mixed $port = 443, mixed $timeout = false): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$server |
string | URL of the Server to connect to |
$path |
mixed | |
$port |
mixed | |
$timeout |
mixed |
setCertificate
Set the client side certificates to communicate with the server.
public setCertificate(string $certificateFile, string $keyFile, string $keyPhrase = ''): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$certificateFile |
string | Filename of the client side certificate to use |
$keyFile |
string | Filename of the client side certificate's private key |
$keyPhrase |
string | Passphrase to unlock the private key |
setCACertificate
Parameters:
Parameter | Type | Description |
---|---|---|
$caFile |
mixed |
setTimeOut
Sets the connection timeout (in seconds)
Parameters:
Parameter | Type | Description |
---|---|---|
$newTimeOut |
int | Timeout in seconds |
getTimeOut
Returns the connection timeout (in seconds)
query
Set the query to send to the XML-RPC Server
Inherited methods
__construct
public __construct(mixed $server, mixed $path = false, mixed $port = 80, mixed $timeout = 15): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$server |
mixed | |
$path |
mixed | |
$port |
mixed | |
$timeout |
mixed |
query
getResponse
isError
getErrorCode
getErrorMessage
Automatically generated on 2025-03-18