API reference
Class DiscordIngressBodyReader
- Namespace
- DisCatSharp.Hosting.AspNetCore.Ingress
- Assembly
- DisCatSharp.Hosting.AspNetCore.dll
Default implementation that buffers an ingress request body for downstream processing.
public sealed class DiscordIngressBodyReader : IDiscordIngressBodyReader
- Inheritance
-
DiscordIngressBodyReader
- Implements
- Inherited Members
Constructors
- DiscordIngressBodyReader(IOptions<DiscordWebIngressOptions>)
Initializes a new instance of the DiscordIngressBodyReader class.
Methods
- ReadAsync(Stream, CancellationToken)
Reads the full raw request body into an ingress payload.