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.
public process_response ( resource $curl_handle = null, string $response = null ) : OSS\Http\ResponseCore | ||
$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. |
return | OSS\Http\ResponseCore | A |