File tree Expand file tree Collapse file tree 3 files changed +80
-159
lines changed
tests/React/Tests/HttpClient Expand file tree Collapse file tree 3 files changed +80
-159
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,17 @@ it. Response implements ReadableStreamInterface.
1313
1414Interesting events emitted by Request:
1515
16- * response: the response headers were received from the server and successfully
16+ * ` response ` : The response headers were received from the server and successfully
1717 parsed. The first argument is a Response instance.
18- * error: an error occured
19- * end: the request is finished. If an error occured, it is passed as first
18+ * ` error ` : An error occured.
19+ * ` end ` : The request is finished. If an error occured, it is passed as first
2020 argument. Second and third arguments are the Response and the Request.
2121
2222Interesting events emitted by Response:
2323
24- * data: passes a chunk of the response body as first argument * error:
25- an error occured
26- * end: the response has been fully received. If an error
24+ * ` data ` : Passes a chunk of the response body as first argument
25+ * ` error ` : An error occured.
26+ * ` end ` : The response has been fully received. If an error
2727 occured, it is passed as first argument
2828
2929### Example
@@ -54,4 +54,3 @@ $request->end();
5454* chunked transfer encoding
5555* keep-alive connections
5656* following redirections
57-
You can’t perform that action at this time.
0 commit comments