Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/levo/src/deps.ts>server

Server side rendering with The Elm Architecture in Deno
Latest
namespace server
import { server } from "https://deno.land/x/levo@v0.0.27/src/deps.ts";

Enums

HTTP status codes

Functions

Parse addr from string

Set the cookie header properly in the Response to delete it

Parse the cookies of the Server Request

Start an HTTP server with given options and request handler

Start an HTTPS server with given options and request handler

Create a HTTP server

Create an HTTPS server with given options

Set the cookie header properly in the Response

Interfaces

Interface of HTTP server response. If body is a Reader, response would be chunked. If body is a string, it would be UTF-8 encoded by default.

Type Aliases

Options for creating an HTTP server.

Options for creating an HTTPS server.