playwright/docs/src/api/csharp.md

482 B

method: Request.getPayloadAsJson

  • langs: csharp
  • returns: <[JsonDocument]>

Returns a [JsonDocument] representation of [method: Request.postDataBuffer].

option: Request.getPayloadAsJson.serializerOptions

  • documentOptions <[null]|[JsonDocumentOptions]>

The options that control custom behaviour when parsing the JSON.

method: Response.statusCode

  • langs: csharp
  • returns: <[System.Net.HttpStatusCode]>

Gets the [System.Net.HttpStatusCode] code of the response.