This is the dweet Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 05:04:58 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
dweet
A dweet.io client for Common Lisp
death
MIT
drakma
(system).
com.gigamonkeys.json
(system).
babel
(system).
dweet.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
dweet/dweet.lisp
dweet
(system).
*base-uri*
(special variable).
*thing*
(special variable).
all
(function).
http-error
(condition).
http-error-body
(reader method).
http-error-headers
(reader method).
http-error-reason
(reader method).
http-error-status
(reader method).
http-error-uri
(reader method).
latest
(function).
listen
(function).
post
(function).
with-thing
(macro).
ignoring-status
(macro).
json-from-octets
(function).
make-listener
(function).
print-http-error
(function).
request
(function).
Packages are listed by definition order.
dweet
A dweet.io client for Common Lisp
common-lisp
.
*base-uri*
(special variable).
*thing*
(special variable).
all
(function).
http-error
(condition).
http-error-body
(generic reader).
http-error-headers
(generic reader).
http-error-reason
(generic reader).
http-error-status
(generic reader).
http-error-uri
(generic reader).
latest
(function).
listen
(function).
post
(function).
with-thing
(macro).
ignoring-status
(macro).
json-from-octets
(function).
make-listener
(function).
print-http-error
(function).
request
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Base URI for the dweet service.
Name of the thing dweeting.
Evaluate FORMS in the context of a dweet thing named by NAME.
Fetch and return a vector of all dweets on server. Will return an empty vector if none found.
Fetch and return the latest dweet, or return NIL if none found.
Listen for dweets coming from the server, calling the HANDLER function with them as they arrive.
Post a dweet with supplied keys and values. The plist is interpreted as a Lisp representation for a JSON object. The first parameter may be a thing’s name, in which case the plist comes afterwards.
http-error
)) ¶body
.
http-error
)) ¶http-error
)) ¶http-error
)) ¶http-error
)) ¶uri
.
Represents a dweet HTTP error.
error
.
:body
This slot is read-only.
:status
This slot is read-only.
:headers
This slot is read-only.
:uri
This slot is read-only.
:reason
This slot is read-only.
Evaluate FORMS while "ignoring" dweet HTTP errors with status equal to the evaluation of STATUS, i.e. returning the evaluation of RETURN-VALUE when such errors are encountered.
Parse the supplied OCTETS vector into a Lisp representation of a JSON object.
Return a stream receiver function that parses dweet chunks and calls the HANDLER function with them.
Print a human-friendly HTTP error message to the stream.
Send a dweet request of some kind. METHOD should be either :GET or :POST. PATH is the relative path (sans leading slash) to call. If posting, CONTENT should be a Lisp representation of a JSON object. If listening, STREAM-RECEIVER should be a function to call with the HTTP stream.
Jump to: | A F G H I J L M P R W |
---|
Jump to: | A F G H I J L M P R W |
---|
Jump to: | *
B H R S U |
---|
Jump to: | *
B H R S U |
---|
Jump to: | C D F H P S |
---|
Jump to: | C D F H P S |
---|