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

Callback for transport.internal.parse_response


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

Top ↑


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

Top ↑


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

Top ↑


File: wp-includes/class-requests.php. View all references

View on Trac

Top ↑

User Contributed Notes

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