Verzeichnisstruktur phpBB-3.1.0
- Veröffentlicht
- 27.10.2014
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
ClientInterface.php
01 <?php
02 namespace OAuth\Common\Http\Client;
03
04 use OAuth\Common\Http\Uri\UriInterface;
05 use OAuth\Common\Http\Exception\TokenResponseException;
06
07 /**
08 * Any HTTP clients to be used with the library should implement this interface.
09 */
10 interface ClientInterface
11 {
12 /**
13 * Any implementing HTTP providers should send a request to the provided endpoint with the parameters.
14 * They should return, in string form, the response body and throw an exception on error.
15 *
16 * @abstract
17 * @param UriInterface $endpoint
18 * @param mixed $requestBody
19 * @param array $extraHeaders
20 * @param string $method
21 * @return string
22 * @throws TokenResponseException
23 */
24 public function retrieveResponse(UriInterface $endpoint, $requestBody, array $extraHeaders = array(), $method = 'POST');
25 }
26