class HTTPReceiver
implements Receiver
import { HTTPReceiver } from "https://deno.land/x/slack_bolt@1.0.0/mod.ts";
Receives HTTP requests with Events, Slash Commands, and Actions
Constructors
new
HTTPReceiver(unnamed 0: HTTPReceiverOptions)Properties
private
optional
app: Appprivate
optional
installerRedirectOptions: { failure?: (req: ServerRequest) => Promise<void>; success?: (req: ServerRequest) => Promise<void>; }private
optional
installUrlOptions: InstallURLOptionsprivate
logger: LoggerrequestListener: (req: ServerRequest) => void | Promise<void>
Methods
private
handleIncomingEvent(req: ServerRequest)private
handleInstallPathRequest(req: ServerRequest)private
handleInstallRedirectRequest(req: ServerRequest)private
unboundRequestListener(req: ServerRequest)start(options: HTTPOptions | HTTPSOptions): Promise<Server>
stop(): void