You are here

interface RequestMethod in reCAPTCHA 8.2

Same name and namespace in other branches
  1. 6.2 recaptcha-php/src/ReCaptcha/RequestMethod.php \ReCaptcha\RequestMethod
  2. 7.2 recaptcha-php/src/ReCaptcha/RequestMethod.php \ReCaptcha\RequestMethod

Method used to send the request to the service.

Hierarchy

Expanded class hierarchy of RequestMethod

All classes that implement RequestMethod

4 files declare their use of RequestMethod
CurlPost.php in recaptcha-php/src/ReCaptcha/RequestMethod/CurlPost.php
Drupal8Post.php in src/ReCaptcha/RequestMethod/Drupal8Post.php
Post.php in recaptcha-php/src/ReCaptcha/RequestMethod/Post.php
SocketPost.php in recaptcha-php/src/ReCaptcha/RequestMethod/SocketPost.php

File

recaptcha-php/src/ReCaptcha/RequestMethod.php, line 32

Namespace

ReCaptcha
View source
interface RequestMethod {

  /**
   * Submit the request with the specified parameters.
   *
   * @param RequestParameters $params Request parameters
   * @return string Body of the reCAPTCHA response
   */
  public function submit(RequestParameters $params);

}

Members

Namesort descending Modifiers Type Description Overrides
RequestMethod::submit public function Submit the request with the specified parameters. 4