ApiBase

class OC\Remote\Api\ApiBase
Source:lib/private/Remote/Api/ApiBase.php#30

Properties

Methods

public OC\Remote\Api\ApiBase::__construct($instance, $credentials, $clientService)
Source:lib/private/Remote/Api/ApiBase.php#38
protected OC\Remote\Api\ApiBase::getHttpClient()
Source:lib/private/Remote/Api/ApiBase.php#44
protected OC\Remote\Api\ApiBase::addDefaultHeaders($headers)
Source:lib/private/Remote/Api/ApiBase.php#48
protected OC\Remote\Api\ApiBase::request($method, $url, $body=[], $query=[], $headers=[])
Source:

lib/private/Remote/Api/ApiBase.php#64

Parameters:
  • $method (string)
  • $url (string)
  • $body (array)
  • $query (array)
  • $headers (array)
Returns:

resource | string

Throws:

\InvalidArgumentException