aboutsummaryrefslogtreecommitdiff
path: root/src/package.lisp
blob: bb74e5f01f0180afbd9f2c60d5b268bceed269dc (plain)
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
;;;; package.lisp

(defpackage #:weekend
  (:use #:cl #:flatbind)
  (:import-from
   #:hunchentoot
   #:mime-type
   #:handle-static-file
   #:set-cookie)
  (:local-nicknames
   (#:http #:hunchentoot)
   (#:a #:alexandria-2)
   (#:mop #:closer-mop))
  (:export
   ;; HANDLER PROTOCOL
   #:authenticate                       
   #:authorize
   #:handle
   #:not-found
   #:slot-required
   #:not-found
   #:redirect
   #:endpoint-redirect
   #:route-to
   #:get-cookie

   ;; re-exports
   #:mime-type
   #:handle-static-file
   #:set-cookie

   ;; METACLASS
   #:endpoint
   #:register-body-parser

   ;; DOCGEN
   #:print-route-documentation
   #:print-all-route-documentation))