[ Index ]

PHP Cross Reference of phpBB-3.3.3-deutsch

title

Body

[close]

/vendor/google/recaptcha/src/ReCaptcha/RequestMethod/ -> CurlPost.php (summary)

This is a PHP library that handles calling reCAPTCHA. BSD 3-Clause License

Copyright: (c) 2019, Google Inc.
File Size: 104 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

CurlPost:: (2 methods):
  __construct()
  submit()


Class: CurlPost  - X-Ref

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

__construct(Curl $curl = null, $siteVerifyUrl = null)   X-Ref
Only needed if you want to override the defaults

param: Curl $curl Curl resource
param: string $siteVerifyUrl URL for reCAPTCHA siteverify API

submit(RequestParameters $params)   X-Ref
Submit the cURL request with the specified parameters.

return: string Body of the reCAPTCHA response
param: RequestParameters $params Request parameters



Generated: Sun Feb 14 20:08:31 2021 Cross-referenced by PHPXref 0.7.1