You are here

interface HttpRequestInterface in HTTP Client Manager 8.2

Interface HttpRequestInterface.

@package Drupal\http_client_manager\Request

Hierarchy

Expanded class hierarchy of HttpRequestInterface

All classes that implement HttpRequestInterface

1 file declares its use of HttpRequestInterface
HttpServiceApiWrapperBase.php in src/Plugin/HttpServiceApiWrapper/HttpServiceApiWrapperBase.php

File

src/Request/HttpRequestInterface.php, line 10

Namespace

Drupal\http_client_manager\Request
View source
interface HttpRequestInterface {

  /**
   * Returns the GuzzleHttp Service command name.
   *
   * @return string
   *   The service command name.
   */
  public function getCommand();

  /**
   * Returns an array of arguments.
   *
   * @return array
   *   Array of argument.
   */
  public function getArgs();

  /**
   * The fallback result.
   *
   * @return mixed
   *   The fallback result.
   */
  public function getFallback();

}

Members

Namesort descending Modifiers Type Description Overrides
HttpRequestInterface::getArgs public function Returns an array of arguments. 1
HttpRequestInterface::getCommand public function Returns the GuzzleHttp Service command name.
HttpRequestInterface::getFallback public function The fallback result. 1