Skip to content

IXR_ClientSSL

Client for communicating with a XML-RPC Server over HTTPS.

Properties

_certFile

Filename of the SSL Client Certificate

public string $_certFile

_caFile

Filename of the SSL CA Certificate

public string $_caFile

_keyFile

Filename of the SSL Client Private Key

public string $_keyFile

_passphrase

Passphrase to unlock the private key

public string $_passphrase

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

public setCACertificate(mixed $caFile): mixed

Parameters:

Parameter Type Description
$caFile mixed

setTimeOut

Sets the connection timeout (in seconds)

public setTimeOut(int $newTimeOut): mixed

Parameters:

Parameter Type Description
$newTimeOut int Timeout in seconds

getTimeOut

Returns the connection timeout (in seconds)

public getTimeOut(): mixed

query

Set the query to send to the XML-RPC Server

public query(): mixed

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

public query(): mixed

getResponse

public getResponse(): mixed

isError

public isError(): mixed

getErrorCode

public getErrorCode(): mixed

getErrorMessage

public getErrorMessage(): mixed


Automatically generated on 2025-03-18