Branch
Hash :
9cfb6c22
Author :
Thomas de Grivel
Date :
2019-04-05T14:08:37
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
;;
;; Thot - http web server
;; Copyright 2017,2018 Thomas de Grivel <thoxdg@gmail.com> 0614550127
;;
(in-package :common-lisp)
(defpackage :http-method
(:export
#:delete
#:get
#:head
#:post
#:put
#:connect
#:options
#:trace
#:patch))
(defpackage :thot
(:use
:babel-stream
:bordeaux-threads
:cffi
:cffi-errno
#+openbsd :cffi-kqueue
:cffi-stat
:cl-debug
:cl-stream
:common-lisp
:dirent
:html-entities
:str
:unistd-stream)
(:shadow #:probe-file)
#.(cl-stream:shadowing-import-from)
(:export
#:*disable-threads*
#:*reply*
#:*request*
#:*url-handlers*
#:configure-threads
#:content
#:directory
#:directory-handler
#:end-headers
#:file
#:file-handler
#:header
#:maybe-configure-epoll
#:msg
#:reply
#:reply-content-length
#:reply-header
#:reply-headers
#:reply-headers-sent
#:reply-status
#:reply-stream
#:request
#:request-data
#:request-header
#:request-headers
#:request-http-version
#:request-method
#:request-remote-addr
#:request-socket
#:request-uri
#:request-url
#:start
#:start-threaded
#:status
))