abstract class Http

Methods

static Client
getClient()

Instantiate and return an HTTP client

static Cached
getCachingClient(string $cacheDir = null)

Instantiate and return a caching HTTP client

Details

at line 21
static Client getClient()

Instantiate and return an HTTP client

Return Value

Client

at line 31
static Cached getCachingClient(string $cacheDir = null)

Instantiate and return a caching HTTP client

Parameters

string $cacheDir

Return Value

Cached