WP_Http_Curl::stream_headers

Private AccessPrivate Access

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

SummerySummery

Grabs the headers of the cURL request.

Syntax

WP_Http_Curl::stream_headers( resource $handle, string $headers )

DescriptionDescription

Each header is sent individually to this callback, so we append to the $header property for temporary storage

ParametersParameters

$handle

(resource) (Required) cURL handle.

$headers

(string) (Required) cURL request headers.

ReturnReturn

(int) Length of the request headers.

SourceSource

File: wp-includes/class-wp-http-curl.php


			

ChangelogChangelog

Changelog
Version Description
3.2.0 Introduced.
Scroll to Top