[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
This is a PHP library that handles calling reCAPTCHA. BSD 3-Clause License
Copyright: | (c) 2019, Google Inc. |
File Size: | 108 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
SocketPost:: (2 methods):
__construct()
submit()
Class: SocketPost - X-Ref
Sends a POST request to the reCAPTCHA service, but makes use of fsockopen()__construct(Socket $socket = null, $siteVerifyUrl = null) X-Ref |
Only needed if you want to override the defaults param: \ReCaptcha\RequestMethod\Socket $socket optional socket, injectable for testing param: string $siteVerifyUrl URL for reCAPTCHA siteverify API |
submit(RequestParameters $params) X-Ref |
Submit the POST request with the specified parameters. param: RequestParameters $params Request parameters return: string Body of the reCAPTCHA response |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |