com.paskvil.uhttp-package.lisp
lisp/uhttp/com.paskvil.uhttp-package.lisp download
;;; -*- Lisp -*- mode
(defpackage #:com.paskvil.uhttp
(:nicknames :uhttp)
(:documentation
"UHTTP package provides simple implementation of HTTP communication
using the usocket library, for both server and client side.")
(:use #:common-lisp)
(:export :server-start
:server-stop
:server-wait-for-client
:server-data-ready
:server-read
:server-read-line
:server-read-all-lines
:server-send
:client-connect
:client-close
:client-read
:client-print
:to-html-string
:html
:parse-url-from-header
:parse-header-params
:server-send-header
:with-accepted-client))