Warning! You are currently reading the documentation for Requests 1.x.
It is recommended to upgrade to Requests 2.x at your earliest convenience.
Upgrading to Requests 2.x is fairly straight-forward.
A full list of the changes can be found in the Changelog.
Visit the documentation for Requests_Transport_fsockopen
in Requests 2.x.
Class Requests_Transport_fsockopen
fsockopen HTTP transport
- Requests_Transport_fsockopen implements Requests_Transport
public
string
|
|
public
array
|
|
protected static
string
|
|
protected static
string
|
|
public
|
|
public
boolean
|
#
verify_certificate_from_context( string $host, resource $context )
Verify the certificate against common name and subject alternative names |
public static
boolean
|
integer |
SECOND_IN_MICROSECONDS
Second to microsecond conversion |
#
1000000
|
public
string
|
$headers
Raw HTTP data |
#
''
|
public
array
|
$info
Stream metadata |
|
protected
integer|boolean
|
$max_bytes
What's the maximum number of bytes we should keep? |
#
false
|
protected
string
|
$connect_error
|
#
''
|