diff --git a/docs/src/api/csharp.md b/docs/src/api/csharp.md new file mode 100644 index 0000000000000..d8e0a7d6a2bed --- /dev/null +++ b/docs/src/api/csharp.md @@ -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.