streaming_read_callback ( $curl_handle, $file_handle, $length )

A callback function that is invoked by cURL for streaming up.

Access

public

Parameters

Parameter

Type

Required

Description

$curl_handle

resource

Required

The cURL handle for the request.

$file_handle

resource

Required

The open file handle resource.

$length

integer

Required

The maximum number of bytes to read.

Returns

Type

Description

binary

Binary data from a stream.

Source

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback