import * as mod from "https://deno.land/std@0.34.0/http/mod.ts";
Functions
Set the cookie header properly in the Response to delete it | |
Parse the cookies of the Server Request | |
Create an HTTPS server with given options and request handler | |
ParseHTTPVersion parses a HTTP version string. "HTTP/1.0" returns (1, 0, true). Ported from https://github.com/golang/go/blob/f5c43b9/src/net/http/request.go#L766-L792 | |
Start a HTTP server | |
Create an HTTPS server with given options | |
Set the cookie header properly in the Response | |
write trailer headers to writer. it mostly should be called after writeResponse |
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. | |