Table of Contents
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

method string

The request method.

requestUri Uri

The request URI when one is available.

headers IReadOnlyDictionary<string, StringValues>

The request headers.

body DiscordIngressPayload

The raw request body.