Verzeichnisstruktur phpBB-3.2.0


Veröffentlicht
06.01.2017

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.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

      (Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

ClientInterface.php

Zuletzt modifiziert: 09.10.2024, 12:59 - Dateigröße: 874.00 Bytes


 01  <?php
 02   
 03  namespace OAuth\Common\Http\Client;
 04   
 05  use OAuth\Common\Http\Uri\UriInterface;
 06  use OAuth\Common\Http\Exception\TokenResponseException;
 07   
 08  /**
 09   * Any HTTP clients to be used with the library should implement this interface.
 10   */
 11  interface ClientInterface
 12  {
 13      /**
 14       * Any implementing HTTP providers should send a request to the provided endpoint with the parameters.
 15       * They should return, in string form, the response body and throw an exception on error.
 16       *
 17       * @param UriInterface $endpoint
 18       * @param mixed        $requestBody
 19       * @param array        $extraHeaders
 20       * @param string       $method
 21       *
 22       * @return string
 23       *
 24       * @throws TokenResponseException
 25       */
 26      public function retrieveResponse(
 27          UriInterface $endpoint,
 28          $requestBody,
 29          array $extraHeaders = array(),
 30          $method = 'POST'
 31      );
 32  }
 33