CRM_Cxn_CiviCxnHttp
class CRM_Cxn_CiviCxnHttp extends PhpHttp
Class CRM_Cxn_CiviCxnHttp
This extends the PhpHttp client used by CiviConnect and adds: - Force-cache support for GET requests - Compliance with SSL policy
Properties
static protected | $singleton | ||
protected CRM_Utils_Cache_Interface|null | $cache |
Methods
static CRM_Cxn_CiviCxnHttp
singleton(bool $fresh = FALSE)
Singleton object.
array
send(string $verb, string $url, string $blob, array $headers = [])
Send.
array
createStreamOpts(string $verb, string $url, string $blob, array $headers)
Create stream options.
getCache()
Get cache.
Details
at line 27
static CRM_Cxn_CiviCxnHttp
singleton(bool $fresh = FALSE)
Singleton object.
at line 45
__construct(CRM_Utils_Cache_Interface|null $cache)
The cache data store.
at line 60
array
send(string $verb, string $url, string $blob, array $headers = [])
Send.
at line 100
protected array
createStreamOpts(string $verb, string $url, string $blob, array $headers)
Create stream options.
at line 121
CRM_Utils_Cache_Interface|null
getCache()
Get cache.