LTI Integration Library 4.10.3
PHP class library for building LTI integrations
 
Loading...
Searching...
No Matches
CurlClient Class Reference

Class to implement the HTTP message interface using the Curl library. More...

Inheritance diagram for CurlClient:
ClientInterface

Public Member Functions

 send (HttpMessage $message)
 Send the request to the target URL.
 
 send (HttpMessage $message)
 Send the request to the target URL.
 

Static Public Attributes

static $httpVersion = null
 The HTTP version to be used.
 

Detailed Description

Class to implement the HTTP message interface using the Curl library.

Author
Stephen P Vickers steph.nosp@m.en@s.nosp@m.pvsof.nosp@m.twar.nosp@m.eprod.nosp@m.ucts.nosp@m..com
Licence: GNU Lesser General Public License, version 3 (<http://www.gnu.org/licenses/lgpl.html>)

Definition at line 12 of file CurlClient.php.

Member Function Documentation

◆ send()

send ( HttpMessage  $message)

Send the request to the target URL.

Parameters
HttpMessage$message
Returns
bool True if the request was successful

Implements ClientInterface.

Definition at line 29 of file CurlClient.php.

References HttpMessage\getMethod(), and HttpMessage\getUrl().

Field Documentation

◆ $httpVersion

int null $httpVersion = null
static

The HTTP version to be used.

Definition at line 20 of file CurlClient.php.


The documentation for this class was generated from the following file: