Differences Between: [Versions 400 and 401]
(no description)
File Size: | 102 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
http_client:: (2 methods):
__construct()
request()
Class: http_client - X-Ref
An implementation of IHTTPClient delegating to a curl object, for use with the lib/lti1p3 library code.__construct(\curl $curlclient) X-Ref |
Constructor. param: \curl $curlclient a curl client instance. |
request(string $method, string $url, array $options) X-Ref |
Make an HTTP request to the given URL. return: IHttpResponse the response param: string $method the HTTP method to use. param: string $url the URL to send the request to. param: array $options an array of request options, mainly used to set headers and body. |