Method |
Description |
|
__construct ( Milo\Github\Http\IClient $client = NULL ) |
|
|
createRequest ( $method, $urlPath, array $parameters = [], array $headers = [], $content = NULL ) : Milo\Github\Http\Request |
|
|
decode ( Milo\Github\Http\Response $response, array $okCodes = NULL ) : mixed |
|
|
delete ( $urlPath, array $parameters = [], array $headers = [] ) : Milo\Github\Http\Response |
|
|
get ( $urlPath, array $parameters = [], array $headers = [] ) : Milo\Github\Http\Response |
|
|
getClient ( ) : Milo\Github\Http\IClient |
|
|
getDefaultParameters ( ) : array |
|
|
getToken ( ) : Milo\Github\OAuth\Token | null |
|
|
getUrl ( ) : string |
|
|
head ( $urlPath, array $parameters = [], array $headers = [] ) : Milo\Github\Http\Response |
|
|
paginator ( $urlPath, array $parameters = [], array $headers = [] ) : Milo\Github\Paginator |
Creates paginator for HTTP GET requests. |
|
patch ( $urlPath, $content, array $parameters = [], array $headers = [] ) : Milo\Github\Http\Response |
|
|
post ( $urlPath, $content, array $parameters = [], array $headers = [] ) : Milo\Github\Http\Response |
|
|
put ( $urlPath, $content = NULL, array $parameters = [], array $headers = [] ) : Milo\Github\Http\Response |
|
|
request ( Milo\Github\Http\Request $request ) : Milo\Github\Http\Response |
|
|
setDefaultParameters ( array $defaults = NULL ) : self |
|
|
setToken ( Milo\Github\OAuth\Token $token = NULL ) : self |
|
|
setUrl ( $url ) : self |
|
|
withUrl ( $url ) : Api |
|
|