From c4352d64a25d2c5d297d433320df05a5181fee2e Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Fri, 4 Feb 2022 14:56:48 -0600 Subject: initial work developing hunchentoot backend --- lazybones.lisp | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'lazybones.lisp') 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 () -- cgit v1.2.3