diff options
author | Colin Okay <okay@toyful.space> | 2022-02-04 14:56:48 -0600 |
---|---|---|
committer | Colin Okay <okay@toyful.space> | 2022-02-04 14:56:48 -0600 |
commit | c4352d64a25d2c5d297d433320df05a5181fee2e (patch) | |
tree | f6518402e5db1e386e4c48b42fd8dc91b3bd7929 /lazybones.lisp | |
parent | 88c50310089d175a7da9305d666c99cd35cd6796 (diff) |
initial work developing hunchentoot backend
Diffstat (limited to 'lazybones.lisp')
-rw-r--r-- | lazybones.lisp | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/lazybones.lisp b/lazybones.lisp index 735fbd5..d72189b 100644 --- a/lazybones.lisp +++ b/lazybones.lisp @@ -2,7 +2,7 @@ (in-package #:lazybones) -;;; Generic Functions +;;; DYNAMIC VARIABLES (defgeneric handle-request (what request) (:documentation "Implemented for APP and ENDPOINT instances.")) @@ -10,20 +10,10 @@ (defgeneric dispatch-handler-p (endpoint request) (:documentation "T if ENDPOINT should handle REQUEST, NIL otherwise")) -(defgeneric uri-path (request) - (:documentation "Returns the path associated with the request")) - -(defgeneric uri-query (request &key rawp) - (:documentation "Returns the whole query associated with a - request. If RAWP is truthy, should return the raw query - string. Otherwise should parse it somehow.")) - -(defgeneric request-body (request) - (:documentation "Returns the body of a request that has one, or NIL if not.")) - (defgeneric request-authorized-p (endpoint request) (:documentation "Returns T if the REQUEST has authorization to dispatch the handler for ENDPOINT")) + ;;; LAZYBONES CLASSES (defclass app () |