Table of Contents
API reference

Constructor DiscordIngressPayload

Namespace
DisCatSharp.Hosting.AspNetCore.Ingress
Assembly
DisCatSharp.Hosting.AspNetCore.dll

DiscordIngressPayload(ReadOnlyMemory<byte>)

Represents a raw ingress payload that can be reused across transport implementations.

public DiscordIngressPayload(ReadOnlyMemory<byte> bytes)

Parameters

bytes ReadOnlyMemory<byte>

The raw payload bytes.

Remarks

Initializes a new instance of the DiscordIngressPayload class.