RailsOnLisp/thot/package.lisp

Branch

Thomas de Grivel 9cfb6c228 2019-04-05T14:08:37
enable epoll on linux; fix kqueue
;;
;;  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
   ))
Download