Warning: This class has been deprecated. Use WP_HTTP::request instead.
WP_HTTP_Fsockopen WordPress Class
This class is used to connect to a remote server using the fsockopen() function. It provides an easy way to connect to a remote server and make HTTP requests.
WP_HTTP_Fsockopen #
Deprecated HTTP Transport method which used fsockopen.
Description
This class is not used, and is included for backward compatibility only. All code should make use of WP_Http directly through its API.
See also
Source
File: wp-includes/class-wp-http-streams.php
class WP_HTTP_Fsockopen extends WP_Http_Streams {
// For backward compatibility for users who are using the class directly.
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 3.7.0 | Please use WP_HTTP::request() directly |
| 2.7.0 | Introduced. |