process_response ( $curl_handle, $response )

Take the post-processed cURL data and break it down into useful header/body/info chunks. Uses the data stored in the curl_handle and response properties unless replacement data is passed in via parameters.

Access

public

Parameters

Parameter

Type

Required

Description

$curl_handle

resource

Optional

The reference to the already executed cURL request.

$response

string

Optional

The actual response content itself that needs to be parsed.

Returns

Type

Description

ResponseCore

A object containing a parsed HTTP response.

Source

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback