API reference
Method Json
- Namespace
- DisCatSharp.Hosting.AspNetCore.Ingress
- Assembly
- DisCatSharp.Hosting.AspNetCore.dll
Json(int, string)
Creates a JSON response.
public static DiscordIngressResponse Json(int statusCode, string json)
Parameters
Returns
- DiscordIngressResponse
A JSON response.