import { default } from "https://deno.land/x/pogo@v0.5.2/lib/server.ts";
A server represents your application and its ability to handle HTTP requests.
Use pogo.server()
to create a server instance.
Constructors
new
default(options: ServerOptions)Methods
respond(request: http.ServerRequest)
route(): this
route(): this
route: RoutesListHasMethodAndPath,
options: RouteOptionsHasHandler | RouteHandler,
handler?: RouteHandler,
route(): this
route(): this
route(): this
route(): this
route(): this
route(): this
route(): this
start()
stop()