streaming_write_callback ( $curl_handle, $data )

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

Access

public

Parameters

Parameter

Type

Required

Description

$curl_handle

resource

Required

The cURL handle for the request.

$data

binary

Required

The data to write.

Returns

Type

Description

integer

The number of bytes written.

Source

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback