Table of Contents
API reference

Method Empty

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

Empty(int)

Creates a response without a body.

public static DiscordIngressResponse Empty(int statusCode = 204)

Parameters

statusCode int

The HTTP status code to return.

Returns

DiscordIngressResponse

A response without a body.