public function RequestMethod::submit in reCAPTCHA 7.2
Same name and namespace in other branches
- 8.2 recaptcha-php/src/ReCaptcha/RequestMethod.php \ReCaptcha\RequestMethod::submit()
- 6.2 recaptcha-php/src/ReCaptcha/RequestMethod.php \ReCaptcha\RequestMethod::submit()
Submit the request with the specified parameters.
Parameters
RequestParameters $params Request parameters:
Return value
string Body of the reCAPTCHA response
4 methods override RequestMethod::submit()
- CurlPost::submit in recaptcha-php/
src/ ReCaptcha/ RequestMethod/ CurlPost.php - Submit the cURL request with the specified parameters.
- Drupal7Post::submit in src/
ReCaptcha/ RequestMethod/ Drupal7Post.php - Submit the POST request with the specified parameters.
- Post::submit in recaptcha-php/
src/ ReCaptcha/ RequestMethod/ Post.php - Submit the POST request with the specified parameters.
- SocketPost::submit in recaptcha-php/
src/ ReCaptcha/ RequestMethod/ SocketPost.php - Submit the POST request with the specified parameters.
File
- recaptcha-php/
src/ ReCaptcha/ RequestMethod.php, line 41
Class
- RequestMethod
- Method used to send the request to the service.
Namespace
ReCaptchaCode
public function submit(RequestParameters $params);