-
Notifications
You must be signed in to change notification settings - Fork 0
class SocketPost
www/includes/g-recaptcha-src/ReCaptcha/RequestMethod/SocketPost.php
Default
No public properties found
BAD_REQUEST() | BAD_RESPONSE() | RECAPTCHA_HOST() | SITE_VERIFY_PATH() |
BAD_REQUEST = '{"success": false, "error-codes": ["invalid-request"]}' :
www/includes/g-recaptcha-src/ReCaptcha/RequestMethod/SocketPost.php
- const: string Bad request error
BAD_RESPONSE = '{"success": false, "error-codes": ["invalid-response"]}' :
www/includes/g-recaptcha-src/ReCaptcha/RequestMethod/SocketPost.php
- const: string Bad response error
RECAPTCHA_HOST = 'www.google.com' :
reCAPTCHA service host.
www/includes/g-recaptcha-src/ReCaptcha/RequestMethod/SocketPost.php
- const: string
SITE_VERIFY_PATH = '/recaptcha/api/siteverify' :
www/includes/g-recaptcha-src/ReCaptcha/RequestMethod/SocketPost.php
- const: string reCAPTCHA service path
Socket to the reCAPTCHA service
private
$socket : \ReCaptcha\RequestMethod\Socket
Array
Constructor
- Inherited from \ReCaptcha\RequestMethod\SocketPost
public
__construct(\ReCaptcha\RequestMethod\Socket $socket = null) : mixed
Submit the POST request with the specified parameters.
- Inherited from \ReCaptcha\RequestMethod\SocketPost
public
submit(\ReCaptcha\RequestParameters $params) : string
\ » Classes » SocketPost
Documentation generated on April 26th, 2020 at 15:54.
Powered by phpDocumentor with template GitHub-wiki.