API reference
Constructor DiscordIngressRequest
- Namespace
- DisCatSharp.Hosting.AspNetCore.Ingress
- Assembly
- DisCatSharp.Hosting.AspNetCore.dll
DiscordIngressRequest(string, Uri?, IReadOnlyDictionary<string, StringValues>?, DiscordIngressPayload?)
Initializes a new instance of the DiscordIngressRequest class.
public DiscordIngressRequest(string method, Uri? requestUri = null, IReadOnlyDictionary<string, StringValues>? headers = null, DiscordIngressPayload? body = null)
Parameters
methodstringThe request method.
requestUriUriThe request URI when one is available.
headersIReadOnlyDictionary<string, StringValues>The request headers.
bodyDiscordIngressPayloadThe raw request body.