Adds three lines of docs to example web server (#416)

This commit is contained in:
Bob Herrmann 2020-05-08 17:04:21 -04:00 committed by GitHub
parent be6c6c1dd2
commit 97c48193d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,9 @@
#!/usr/bin/env bb #!/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)) (import (java.net ServerSocket))
(require '[clojure.string :as string] (require '[clojure.string :as string]
'[clojure.java.io :as io]) '[clojure.java.io :as io])