mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
api(dotnet): fix json api (#6723)
This commit is contained in:
parent
adf87fe9c6
commit
2321abb2d9
@ -23,13 +23,21 @@ Returns the [Frame] that initiated this response.
|
|||||||
Returns the object with HTTP headers associated with the response. All header names are lower-case.
|
Returns the object with HTTP headers associated with the response. All header names are lower-case.
|
||||||
|
|
||||||
## async method: Response.json
|
## async method: Response.json
|
||||||
* langs: csharp, js, python
|
* langs: js, python
|
||||||
- returns: <[Serializable]>
|
- returns: <[Serializable]>
|
||||||
|
|
||||||
Returns the JSON representation of response body.
|
Returns the JSON representation of response body.
|
||||||
|
|
||||||
This method will throw if the response body is not parsable via `JSON.parse`.
|
This method will throw if the response body is not parsable via `JSON.parse`.
|
||||||
|
|
||||||
|
## async method: Response.json
|
||||||
|
* langs: csharp
|
||||||
|
- returns: <[JsonDocument]>
|
||||||
|
|
||||||
|
Returns the JSON representation of response body.
|
||||||
|
|
||||||
|
This method will throw if the response body is not parsable via `JSON.parse`.
|
||||||
|
|
||||||
## method: Response.ok
|
## method: Response.ok
|
||||||
- returns: <[boolean]>
|
- returns: <[boolean]>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user