HTTPSQS is a HTTP-based message queue, and this lib is used to interact with it.f
Assume the HTTPSQS is started and listened on port 1218 at localhost, after loading this lib, the following functions could be used
This is a function and it's used to create an instance of class CL-HTTPSQS:<HTTPSQS>
(defvar *queue* (cl-httpsqs:make-queue "127.0.0.1" 1218))
After creating the instance, it's able to push an item into the queue by means of the function CL-HTTPSQS:ENQUEUE
(cl-httpsqs:enqueue "Hello, world!" "test" *queue*)
To see the current status of a queue, use the CL-HTTPSQS:PRINT-STATUS
(cl-httpsqs:print-status "test" *queue*)
Now there is one item in the queue, and it's able to ask the queue to output it
(cl-httpsqs:dequeue "test" *queue*)