docs(dotnet): adding missing methods from dotnet port (#5763)

This commit is contained in:
Anže Vodovnik 2021-03-11 17:14:10 +01:00 committed by GitHub
parent b01f6ec9e8
commit 720dea4069
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

16
docs/src/api/csharp.md Normal file
View File

@ -0,0 +1,16 @@
## 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.