From 292c7a237f74efb006d26afe9e8ecaf09fbea6d1 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Sun, 20 Aug 2017 16:03:30 -0700 Subject: [PATCH] doc: remove mentions of removed Boxy mixin (#425) Fixes #399. --- docs/api.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/api.md b/docs/api.md index c057eb8f7f9..6f070109a2d 100644 --- a/docs/api.md +++ b/docs/api.md @@ -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`. @@ -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 which resolves to a buffer with response body.