interface RequestMethod in reCAPTCHA 8.2
Same name and namespace in other branches
- 6.2 recaptcha-php/src/ReCaptcha/RequestMethod.php \ReCaptcha\RequestMethod
- 7.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 - 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
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 |