Class Domain
Class Domain
Abstracts an Angelfon sub domain
Methods summary
public
|
|
public
string
|
#
absoluteUrl( string $uri )
Translate version relative URIs into absolute URLs
Translate version relative URIs into absolute URLs
Parameters
- $uri
- Version relative URI
Returns
string Absolute URL for this domain
|
public
Angelfon\SDK\Http\Response
|
#
request( string $method, string $uri, array $params = array(), array $data = array(), array $headers = array(), string $timeout = null, string $password,…, null $timeout,… )
Make an HTTP request to the domain
Make an HTTP request to the domain
Parameters
- $method
- HTTP Method to make the request with
- $uri
- Relative uri to make a request to
- $params
- Query string arguments
- $data
- Post form data
- $headers
- HTTP headers to send with the request
- $timeout
- $user User to authenticate as
- $password,…
- Password
- $timeout,…
- Request timeout
Returns
|
public
Angelfon\SDK\Rest\Client
|
|
public
|
|