@@ -88,15 +88,16 @@ public function cancel(): void;
88
88
* another, as the request/response progresses.
89
89
*
90
90
* The following info MUST be returned:
91
- * - response_headers - an array modelled after the special $http_response_header variable
92
- * - redirect_count - the number of redirects followed while executing the request
93
- * - redirect_url - the resolved location of redirect responses, null otherwise
94
- * - start_time - the time when the request was sent or 0.0 when it's pending
95
- * - http_method - the HTTP verb of the last request
96
- * - http_code - the last response code or 0 when it is not known yet
97
- * - error - the error message when the transfer was aborted, null otherwise
98
- * - user_data - the value of the "user_data" request option, null if not set
99
- * - url - the last effective URL of the request
91
+ * - canceled (bool) - true if the response was canceled using ResponseInterface::cancel(), false otherwise
92
+ * - error (string|null) - the error message when the transfer was aborted, null otherwise
93
+ * - http_code (int) - the last response code or 0 when it is not known yet
94
+ * - http_method (string) - the HTTP verb of the last request
95
+ * - redirect_count (int) - the number of redirects followed while executing the request
96
+ * - redirect_url (string|null) - the resolved location of redirect responses, null otherwise
97
+ * - response_headers (array) - an array modelled after the special $http_response_header variable
98
+ * - start_time (float) - the time when the request was sent or 0.0 when it's pending
99
+ * - url (string) - the last effective URL of the request
100
+ * - user_data (mixed|null) - the value of the "user_data" request option, null if not set
100
101
*
101
102
* When the "capture_peer_cert_chain" option is true, the "peer_certificate_chain"
102
103
* attribute SHOULD list the peer certificates as an array of OpenSSL X.509 resources.
0 commit comments