Core Class
View Source on Trac ↗
Core Class
WP_Http_Streams
class WP_Http_Streams
// Constructor: function Object() { [native code] } Core class used to integrate PHP Streams as an HTTP transport.
Methods 3 methods
| Method / Return | Description |
|---|---|
| request() (array | Send a HTTP request to a URI using PHP Streams.
Parameters: $url: mixed, $args: mixed |
| verify_ssl_certificate() bool | Verifies the received SSL certificate against its Common Names and subjectAltName fields.
Parameters: $stream: mixed, $host: mixed |
| test() bool | Determines whether this class can be used for retrieving a URL.
Parameters: $args: mixed |
Class Information
Since Version
2.7.0
Source File
wp-includes/class-wp-http-streams.php
Advertisement