HTTPProvider
class HTTPProvider implements PersistedQueryMappingProvider (View source)
Class HTTPProvider
Traits
Configurable
Injectable
Properties
static private int | $timeout | Timeout for the HTTP request |
|
protected array | $schemaToURL | Example:
|
Methods
array
getQueryMapping(string $schemaKey = 'default')
return a map from
string
getByID(string $queryID, string $schemaKey = 'default')
return a query given an ID
mixed
setSchemaMapping(array $mapping)
No description
array
getSchemaMapping()
No description
$this
getClient()
No description
Details
__construct(HTTPClient $client = null)
HTTPProvider constructor.
array
getQueryMapping(string $schemaKey = 'default')
return a map from
string
getByID(string $queryID, string $schemaKey = 'default')
return a query given an ID