Overview

Namespaces

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

Classes

  • ReCaptcha
  • RequestParameters
  • Response

Interfaces

  • RequestMethod
  • Overview
  • Namespace
  • Class

Class RequestParameters

Stores and formats the parameters for the request to the reCAPTCHA service.

Namespace: ReCaptcha
Located at Sources/ReCaptcha/RequestParameters.php
Methods summary
public
# __construct( string $secret, string $response, string $remoteIp = null, string $version = null )

Initialise parameters.

Initialise parameters.

Parameters

$secret
Site secret.
$response
Value from g-captcha-response form field.
$remoteIp
User's IP address.
$version
Version of this client library.
public array
# toArray( )

Array representation.

Array representation.

Returns

array
Array formatted parameters.
public string
# toQueryString( )

Query string representation for HTTP request.

Query string representation for HTTP request.

Returns

string
Query string formatted parameters.
API documentation generated by ApiGen