Skip to content
Français

TriggerReply

import type { TriggerReply } from "@elie-laloum/outpost";
  • statusRequired
    number
    HTTP status returned to the sender.
  • bodyOptional
    string | undefined
    Response body text; the reply is empty when omitted.
  • contentTypeOptional
    string | undefined
    Content type of the body, when one is sent.
export interface TriggerReply {
  readonly status: number;
  readonly body?: string;
  readonly contentType?: string;
}