Skip to content

Commit

Permalink
doc: remove mentions of removed Boxy mixin (puppeteer#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
aslushnikov authored Aug 20, 2017
1 parent 6a35c97 commit 292c7a2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1163,8 +1163,6 @@ If request fails at some point, then instead of 'requestfinished' event (and pos

If request gets a 'redirect' response, the request is successfully finished with the 'requestfinished' event, and a new request is issued to a redirected url.

[Request] class represents requests which are sent by page. [Request] implements [Body] mixin, which in case of HTTP POST requests allows clients to call `request.json()` or `request.text()` to get different representations of request's body.

#### request.abort()

Aborts request. To use this, request interception should be enabled with `page.setRequestInterceptionEnabled`.
Expand Down Expand Up @@ -1203,7 +1201,7 @@ Contains the URL of the request.

### class: Response

[Response] class represents responses which are received by page. [Response] implements [Body] mixin, which allows clients to call `response.json()` or `response.text()` to get different representations of response body.
[Response] class represents responses which are received by page.

#### response.buffer()
- returns: <Promise<[Buffer]>> Promise which resolves to a buffer with response body.
Expand Down

0 comments on commit 292c7a2

Please sign in to comment.