Overview

Namespaces

  • MatthiasMullie
    • Minify
      • Exceptions
    • PathConverter
  • None
  • ReCaptcha
    • RequestMethod
  • TOTP

Classes

  • Curl
  • CurlPost
  • Post
  • Socket
  • SocketPost
  • Overview
  • Namespace
  • Class

Class CurlPost

Sends cURL request to the reCAPTCHA service. Note: this requires the cURL extension to be enabled in PHP

ReCaptcha\RequestMethod\CurlPost implements ReCaptcha\RequestMethod
Namespace: ReCaptcha\RequestMethod
See: https://php.net/manual/en/book.curl.php
Located at Sources/ReCaptcha/RequestMethod/CurlPost.php
Methods summary
public
# __construct( ReCaptcha\RequestMethod\Curl $curl = null )
public string
# submit( ReCaptcha\RequestParameters $params )

Submit the cURL request with the specified parameters.

Submit the cURL request with the specified parameters.

Parameters

$params
Request parameters

Returns

string
Body of the reCAPTCHA response

Implementation of

ReCaptcha\RequestMethod::submit()
Constants summary
string SITE_VERIFY_URL

URL to which requests are sent via cURL.

URL to which requests are sent via cURL.

Const

string
# 'https://www.google.com/recaptcha/api/siteverify'
API documentation generated by ApiGen