[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Base HTTP transport
File Size: | 41 lines (1 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Requests_Transport:: (3 methods):
request()
request_multiple()
test()
Interface: Requests_Transport - X-Ref
Base HTTP transportrequest($url, $headers = array() X-Ref |
Perform a request return: string Raw HTTP result param: string $url URL to request param: array $headers Associative array of request headers param: string|array $data Data to send either as the POST body, or as parameters in the URL for a GET/HEAD param: array $options Request options, see {@see Requests::response()} for documentation |
request_multiple($requests, $options) X-Ref |
Send multiple requests simultaneously return: array Array of Requests_Response objects (may contain Requests_Exception or string responses as well) param: array $requests Request data (array of 'url', 'headers', 'data', 'options') as per {@see Requests_Transport::request} param: array $options Global options, see {@see Requests::response()} for documentation |
test() X-Ref |
Self-test whether the transport can be used return: bool |
Generated: Thu Dec 15 01:00:02 2022 | Cross-referenced by PHPXref 0.7.1 |