From 97c48193d743a09542f5b97be6a0f38cc1ad0aeb Mon Sep 17 00:00:00 2001 From: Bob Herrmann Date: Fri, 8 May 2020 17:04:21 -0400 Subject: [PATCH] Adds three lines of docs to example web server (#416) --- examples/http_server.clj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/http_server.clj b/examples/http_server.clj index 0c045993..a1db0a19 100755 --- a/examples/http_server.clj +++ b/examples/http_server.clj @@ -1,5 +1,9 @@ #!/usr/bin/env bb +;; This example creates a file serving web server +;; It accepts a single connection from a browser and serves content to the connected browser +;; after the connection times out, this script will serve no more. + (import (java.net ServerSocket)) (require '[clojure.string :as string] '[clojure.java.io :as io])