Skip to main content
Module

x/slack_bolt/deps.ts>serve

TypeScript framework to build Slack apps in a flash with the latest platform features. Deno port of @slack/bolt
Latest
function serve
import { serve } from "https://deno.land/x/slack_bolt@1.0.0/deps.ts";

Create a HTTP server

import { serve } from "https://deno.land/std/http/server.ts";
const body = "Hello World\n";
const server = serve({ port: 8000 });
for await (const req of server) {
  req.respond({ body });
}

Parameters

addr: string | HTTPOptions