private property SocketPost::$socket in reCAPTCHA 8.2
Same name and namespace in other branches
- 6.2 recaptcha-php/src/ReCaptcha/RequestMethod/SocketPost.php \ReCaptcha\RequestMethod\SocketPost::socket
- 7.2 recaptcha-php/src/ReCaptcha/RequestMethod/SocketPost.php \ReCaptcha\RequestMethod\SocketPost::socket
Socket to the reCAPTCHA service
Type: Socket
File
- recaptcha-php/
src/ ReCaptcha/ RequestMethod/ SocketPost.php, line 44
Class
- SocketPost
- Sends a POST request to the reCAPTCHA service, but makes use of fsockopen() instead of get_file_contents(). This is to account for people who may be on servers where allow_url_open is disabled.
Namespace
ReCaptcha\RequestMethodCode
private $socket;