Skip to content

class RequestParameters

Oliver edited this page Apr 25, 2020 · 1 revision

www/includes/g-recaptcha-src/ReCaptcha/RequestParameters.php


RequestParameters

Package

Default

Overview

Public Properties

No public properties found

Constants

No constants found

Public Methods

__construct() | toArray() | toQueryString() |

Properties

remoteIp

Remote user's IP address.

private $remoteIp : string

Array

response

Form response.

private $response : string

Array

secret

Site secret.

private $secret : string

Array

version

Client version.

private $version : string

Array

Methods

__construct()

Initialise parameters.

public __construct(string $secret, string $response, string $remoteIp = null, string $version = null) : mixed

toArray()

Array representation.

public toArray() : array

toQueryString()

Query string representation for HTTP request.

public toQueryString() : string


\ » Classes » RequestParameters

Clone this wiki locally