$host
$host :
SetCertificate(string $cert,string $password = '',string $ca_cert = '')
Set certificate Set the request certificate file for authentication.
string | $cert | Absolute path to target certificate. Must be combined .pem |
string | $password | The certificate password when defined |
string | $ca_cert | The ca root certificate when defined |
Send(null|object $obj = null,boolean $json = true): \FAA\Obj\Result
Submit call
Send the request to the remote endpoint
null|object | $obj | The Request payload |
boolean | $json | When true, send as json |
A system result object The regular values will contain the response body, when json than parsed The secondary values may contain the http response code