Requests::parse_multiple( string $response, array $request ): null

In this article

Callback for transport.internal.parse_response

Description

Internal use only. Converts a raw HTTP response to a Requests_Response while still executing a multiple request.

Parameters

$responsestringrequired
Full response text including headers and body (will be overwritten with Response instance)
$requestarrayrequired
Request data as passed into Requests::request_multiple()

Return

null $response is either set to a Requests_Response instance, or a Requests_Exception object

Source

User Contributed Notes

You must log in before being able to contribute a note or feedback.