Свойство | Type | Description | |
---|---|---|---|
$BASE_URL | string | You may modify this value to disable SSL support, but it is not recommended. | |
$VERIFY_SSL | In some PHP configurations, SSL/TLS certificates cannot be verified. Rather than disabling SSL/TLS entirely in these circumstances, you may disable certificate verification. This is dramatically better than disabling connecting to the Postmark API without TLS, as it's still encrypted, but the risk is that if your connection has been compromised, your application could be subject to a Man-in-the-middle attack. However, this is still a better outcome than using no encryption at all. If possible, you should try to resolve your PHP install's certificate issues as outline here: https://github.com/wildbit/postmark-php/wiki/SSL%20Errors%20on%20Windows |
Свойство | Type | Description | |
---|---|---|---|
$authorization_header | |||
$authorization_token | |||
$client | |||
$os | |||
$timeout | |||
$version |
Méthode | Description | |
---|---|---|
setClient ( |
Provide a custom GuzzleHttp\Client to be used for HTTP requests |
Méthode | Description | |
---|---|---|
__construct ( $token, $header, $timeout = 30 ) | ||
getClient ( ) : |
Return the injected GuzzleHttp\Client or create a default instance | |
processRestRequest ( string $method = NULL, string $path = NULL, array $body = [] ) : object | The base request method for all API access. |
protected getClient ( ) : |
||
Résultat |
public setClient ( |
||
$client |
public static string $BASE_URL | ||
Résultat | string |
public static $VERIFY_SSL |