Provides an efficient streaming WordPress HTTP API transport with support for tunneled proxy connections.
Leverage all the benefits of Beam without having to modify any existing wp_remote_*
WordPress HTTP API calls.
Honors all standard WordPress HTTP API request arguments, filters, and actions. For more details around the WordPress HTTP API please see https://codex.wordpress.org/HTTP_API the codex site.
May be installed as a “Must Use” plugin so the functionality is always in use. A handy option for site maintainers.
Beam was designed with efficiency and accuracy of content sent to and read from connections in mind.
Built-in PHP stream filters remove the need for user space implementations resulting in better memory management and performance.
'dechunk'
Decodes HTTP 1.1 Transfer-Encoding: chunked
responses (requires PHP 5.3+).'zlib.inflate'
Inflates Content-Encoding: gzip
responses (requires zlib extension).Beam uses these filters by default to cut down on network traffic and alter the response on the fly without needing to read in the entire response before hand. It is highly likely that these capabilities are already available; it makes sense to use them.
Uses TLS, by default, to establish HTTPS connections for improved security versus SSL.
Beam provides filter 'stream_crypto_method'
to change the crypto method in use based on the requested URL.
Tunneled proxy connections may be established to connect to HTTPS sites over an HTTP proxy and avoid “503 Service Unavailable” HTTP errors. Now it’s possible to update, install, and search WordPress and plugins which all use HTTPS URLs while a proxy is in use without having to install the PHP cURL extension.
Beam provides filter 'proxy_tunnel'
to change which requests require a tunneled proxy connection.