Adds three lines of docs to example web server (#416)
This commit is contained in:
parent
be6c6c1dd2
commit
97c48193d7
1 changed files with 4 additions and 0 deletions
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Reference in a new issue