Liking cljdoc? Tell your friends :D

clj-async-profiler.wwws

World's Worst Web Server: a single-file non-Ring-compliant (but LARPing as one) web server that should never be used ever.

Supports:

  • serving files
  • generating response headers
  • basic MIME types
  • bare-bones query string parsing
  • primitive resource caching

Doesn't support:

  • anything else.
World's Worst Web Server: a single-file non-Ring-compliant (but LARPing as one)
web server that should never be used ever.

Supports:
- serving files
- generating response headers
- basic MIME types
- bare-bones query string parsing
- primitive resource caching

Doesn't support:
- anything else.
raw docstring

get-addressclj

(get-address server)
source

get-extensionclj

(get-extension filename)
source

get-portclj

(get-port server)
source

redirectclj

(redirect url)
source

respondclj

(respond body)
(respond code body)
source

start-serverclj

(start-server handler host port)

Starts a simple webserver with the local directory dir as its root.

Starts a simple webserver with the local directory `dir` as its root.
sourceraw docstring

stop-serverclj

(stop-server server)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close