API reference
Constructor DiscordIngressBodyTooLargeException
- Namespace
- DisCatSharp.Hosting.AspNetCore.Ingress
- Assembly
- DisCatSharp.Hosting.AspNetCore.dll
DiscordIngressBodyTooLargeException(int)
Represents a failure caused by an ingress request body exceeding the configured maximum size.
public DiscordIngressBodyTooLargeException(int maxAllowedBytes)
Parameters
maxAllowedBytesintThe configured maximum request body size, in bytes.
Remarks
Initializes a new instance of the DiscordIngressBodyTooLargeException class.