Verzeichnisstruktur phpBB-3.3.15
- Veröffentlicht
- 28.08.2024
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
03 namespace OAuth\Common\Http\Client;
04
05 use OAuth\Common\Http\Uri\UriInterface;
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 * @param mixed $requestBody
17 * @param string $method
18 *
19 * @return string
20 */
21 public function retrieveResponse(
22 UriInterface $endpoint,
23 $requestBody,
24 array $extraHeaders = [],
25 $method = 'POST'
26 );
27 }
28