interface RequestMethod in reCAPTCHA 7.2
Same name and namespace in other branches
- 8.2 recaptcha-php/src/ReCaptcha/RequestMethod.php \ReCaptcha\RequestMethod
- 6.2 recaptcha-php/src/ReCaptcha/RequestMethod.php \ReCaptcha\RequestMethod
Method used to send the request to the service.
Hierarchy
- interface \ReCaptcha\RequestMethod
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 - Drupal7Post.php in src/
ReCaptcha/ RequestMethod/ Drupal7Post.php - Custom Drupal 7 RequestMehod class for Google reCAPTCHA library.
- 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
ReCaptchaView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RequestMethod:: |
public | function | Submit the request with the specified parameters. | 4 |