This is the dexador Reference Manual, version 0.9.15, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:58:55 2024 GMT+0.
dexador/dexador.asd
dexador/src/dexador.lisp
dexador/src/encoding.lisp
dexador/src/connection-cache.lisp
dexador/src/decoding-stream.lisp
dexador/src/keep-alive-stream.lisp
dexador/src/body.lisp
dexador/src/error.lisp
dexador/src/restarts.lisp
dexador/src/util.lisp
dexador/src/backend/usocket.lisp
dexador/src/backend/winhttp.lisp
The main system appears first, followed by any subsystem dependency.
dexador
Yet another HTTP client for Common Lisp
Eitaro Fukamachi
MIT
0.9.15
trivial-features
(system).
fast-http
(system).
quri
(system).
fast-io
(system).
babel
(system).
trivial-gray-streams
(system).
trivial-garbage
(system).
chunga
(system).
cl-ppcre
(system).
cl-cookie
(system).
trivial-mimes
(system).
chipz
(system).
cl-base64
(system).
usocket
(system).
flexi-streams
(system)., for feature :windows
cl+ssl
(system)., for feature (:and (:not :windows) (:not :dexador-no-ssl))
bordeaux-threads
(system).
alexandria
(system).
uiop
(system)., at least version "3.1.1"
src
(module).
Modules are listed depth-first from the system components tree.
dexador/src
dexador
(system).
dexador.lisp
(file).
encoding.lisp
(file).
connection-cache.lisp
(file).
decoding-stream.lisp
(file).
keep-alive-stream.lisp
(file).
body.lisp
(file).
error.lisp
(file).
restarts.lisp
(file).
util.lisp
(file).
backend
(module).
dexador/src/backend
encoding.lisp
(file).
connection-cache.lisp
(file).
decoding-stream.lisp
(file).
keep-alive-stream.lisp
(file).
body.lisp
(file).
error.lisp
(file).
restarts.lisp
(file).
util.lisp
(file).
src
(module).
usocket.lisp
(file).
winhttp.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
dexador/dexador.asd
dexador/src/dexador.lisp
dexador/src/encoding.lisp
dexador/src/connection-cache.lisp
dexador/src/decoding-stream.lisp
dexador/src/keep-alive-stream.lisp
dexador/src/body.lisp
dexador/src/error.lisp
dexador/src/restarts.lisp
dexador/src/util.lisp
dexador/src/backend/usocket.lisp
dexador/src/backend/winhttp.lisp
dexador/src/dexador.lisp
backend
(module).
error.lisp
(file).
restarts.lisp
(file).
src
(module).
dexador/src/encoding.lisp
src
(module).
detect-charset
(function).
charset-to-encoding
(function).
detect-charset-from-html
(function).
parse-content-type
(function).
dexador/src/connection-cache.lisp
src
(module).
*connection-pool*
(special variable).
*max-active-connections*
(special variable).
*use-connection-pool*
(special variable).
clear-connection-pool
(function).
make-connection-pool
(function).
print-object
(method).
print-object
(method).
push-connection
(function).
steal-connection
(function).
add-to-lru-pool
(function).
copy-lru-pool
(function).
copy-lru-pool-elt
(function).
evict-tail
(function).
get-from-lru-pool
(function).
lru-pool
(structure).
lru-pool-elt
(structure).
lru-pool-elt-elt
(reader).
(setf lru-pool-elt-elt)
(writer).
lru-pool-elt-eviction-callback
(reader).
(setf lru-pool-elt-eviction-callback)
(writer).
lru-pool-elt-key
(reader).
(setf lru-pool-elt-key)
(writer).
lru-pool-elt-next
(reader).
(setf lru-pool-elt-next)
(writer).
lru-pool-elt-p
(function).
lru-pool-elt-prev
(reader).
(setf lru-pool-elt-prev)
(writer).
lru-pool-hash-table
(reader).
(setf lru-pool-hash-table)
(writer).
lru-pool-head
(reader).
(setf lru-pool-head)
(writer).
lru-pool-lock
(reader).
(setf lru-pool-lock)
(writer).
lru-pool-max-elts
(reader).
(setf lru-pool-max-elts)
(writer).
lru-pool-num-elts
(reader).
(setf lru-pool-num-elts)
(writer).
lru-pool-p
(function).
lru-pool-tail
(reader).
(setf lru-pool-tail)
(writer).
make-lru-pool
(function).
make-lru-pool-elt
(function).
make-new-connection-pool
(function).
with-lock
(macro).
dexador/src/decoding-stream.lisp
src
(module).
close
(method).
decoding-stream
(class).
initialize-instance
(method).
make-decoding-stream
(function).
open-stream-p
(method).
stream-element-type
(method).
stream-read-char
(method).
stream-unread-char
(method).
+buffer-size+
(constant).
decoding-stream-buffer
(reader method).
(setf decoding-stream-buffer)
(writer method).
decoding-stream-buffer-end-position
(reader method).
(setf decoding-stream-buffer-end-position)
(writer method).
decoding-stream-buffer-position
(reader method).
(setf decoding-stream-buffer-position)
(writer method).
decoding-stream-encoding
(reader method).
(setf decoding-stream-encoding)
(writer method).
decoding-stream-last-char
(reader method).
(setf decoding-stream-last-char)
(writer method).
decoding-stream-last-char-size
(reader method).
(setf decoding-stream-last-char-size)
(writer method).
decoding-stream-stream
(reader method).
(setf decoding-stream-stream)
(writer method).
fill-buffer
(function).
needs-to-fill-buffer-p
(function).
dexador/src/keep-alive-stream.lisp
src
(module).
close
(method).
keep-alive-chunked-stream
(class).
keep-alive-stream
(class).
keep-alive-stream-close-underlying-stream
(function).
keep-alive-stream-stream
(reader method).
(setf keep-alive-stream-stream)
(writer method).
make-keep-alive-stream
(function).
open-stream-p
(method).
stream-element-type
(method).
stream-element-type
(method).
stream-read-byte
(method).
stream-read-byte
(method).
stream-read-sequence
(method).
stream-read-sequence
(method).
chunga-stream
(reader method).
(setf chunga-stream)
(writer method).
close-action
(reader method).
keep-alive-stream-end
(reader method).
(setf keep-alive-stream-end)
(writer method).
maybe-close
(function).
dexador/src/body.lisp
encoding.lisp
(file).
decoding-stream.lisp
(file).
util.lisp
(file).
src
(module).
content-length
(function).
content-type
(function).
decode-body
(function).
decompress-body
(function).
multipart-content-length
(function).
multipart-value-content-type
(function).
with-content-caches
(macro).
write-as-octets
(function).
write-multipart-content
(function).
*content-encoding-cache*
(special variable).
*content-type-cache*
(special variable).
content-disposition
(function).
convert-to-octets
(function).
define-alist-cache
(macro).
lookup-in-content-encoding-cache
(function).
(setf lookup-in-content-encoding-cache)
(function).
lookup-in-content-type-cache
(function).
(setf lookup-in-content-type-cache)
(function).
dexador/src/error.lisp
src
(module).
http-request-bad-gateway
(condition).
http-request-bad-request
(condition).
http-request-conflict
(condition).
http-request-expectation-failed
(condition).
http-request-failed
(function).
http-request-failed
(condition).
http-request-forbidden
(condition).
http-request-gateway-timeout
(condition).
http-request-gone
(condition).
http-request-http-version-not-supported
(condition).
http-request-internal-server-error
(condition).
http-request-length-required
(condition).
http-request-method-not-allowed
(condition).
http-request-misdirected-request
(condition).
http-request-not-acceptable
(condition).
http-request-not-found
(condition).
http-request-not-implemented
(condition).
http-request-payload-too-large
(condition).
http-request-payment-required
(condition).
http-request-precondition-failed
(condition).
http-request-proxy-authentication-required
(condition).
http-request-range-not-satisfiable
(condition).
http-request-request-timeout
(condition).
http-request-service-unavailable
(condition).
http-request-too-many-requests
(condition).
http-request-unauthorized
(condition).
http-request-unsupported-media-type
(condition).
http-request-upgrade-required
(condition).
http-request-uri-too-long
(condition).
request-method
(reader method).
request-uri
(reader method).
response-body
(reader method).
response-headers
(reader method).
response-status
(reader method).
socks5-proxy-request-failed
(condition).
*request-failed-error*
(special variable).
define-request-failed-condition
(macro).
dexador/src/restarts.lisp
src
(module).
ignore-and-continue
(function).
retry-request
(function).
retry-request-ntimes
(function).
dexador/src/util.lisp
src
(module).
*default-connect-timeout*
(special variable).
*default-proxy*
(special variable).
*default-read-timeout*
(special variable).
*default-user-agent*
(special variable).
*not-verify-ssl*
(special variable).
*verbose*
(special variable).
+crlf+
(special variable).
ascii-string-to-octets
(compiler macro).
ascii-string-to-octets
(function).
defun-careful
(macro).
defun-speedy
(macro).
make-random-string
(function).
octets
(type).
with-header-output
(macro).
write-connect-header
(function).
write-first-line
(function).
write-header
(compiler macro).
write-header
(function).
%ascii-string-to-octets
(function).
*careful-declaration*
(special variable).
*dexador-version*
(special variable).
*header-buffer*
(special variable).
*speedy-declaration*
(special variable).
write-header-field
(function).
write-header-value
(function).
dexador/src/backend/usocket.lisp
(:not :windows)
backend
(module).
*ca-bundle*
(special variable).
close
(method).
open-stream-p
(method).
request
(function).
+empty-body+
(special variable).
+socks5-connect+
(constant).
+socks5-domainname+
(constant).
+socks5-ipv4+
(constant).
+socks5-ipv6+
(constant).
+socks5-no-auth+
(constant).
+socks5-reserved+
(constant).
+socks5-succeeded+
(constant).
+socks5-version+
(constant).
build-cookie-headers
(function).
content-disposition
(function).
convert-body
(function).
copy-usocket-wrapped-stream
(function).
ensure-socks5-connected
(function).
make-connect-stream
(function).
make-proxy-authorization
(function).
make-ssl-stream
(function).
make-usocket-wrapped-stream
(function).
print-verbose-data
(function).
read-response
(function).
read-until-crlf*2
(function).
usocket-wrapped-stream
(structure).
usocket-wrapped-stream-p
(function).
usocket-wrapped-stream-stream
(reader).
(setf usocket-wrapped-stream-stream)
(writer).
dexador/src/backend/winhttp.lisp
:windows
backend
(module).
Packages are listed by definition order.
dexador.keep-alive-stream
dexador.backend.usocket
dexador.util
dexador.body
dexador.encoding
dexador.decoding-stream
dexador.restarts
dexador
dexador.connection-cache
dexador.error
dexador.keep-alive-stream
common-lisp
.
keep-alive-chunked-stream
(class).
keep-alive-stream
(class).
keep-alive-stream-close-underlying-stream
(function).
keep-alive-stream-stream
(generic reader).
(setf keep-alive-stream-stream)
(generic writer).
make-keep-alive-stream
(function).
chunga-stream
(generic reader).
(setf chunga-stream)
(generic writer).
close-action
(generic reader).
keep-alive-stream-end
(generic reader).
(setf keep-alive-stream-end)
(generic writer).
maybe-close
(function).
dexador.backend.usocket
dex.usocket
common-lisp
.
dexador.encoding
.
dexador.restarts
.
dexador.util
.
*ca-bundle*
(special variable).
request
(function).
+empty-body+
(special variable).
+socks5-connect+
(constant).
+socks5-domainname+
(constant).
+socks5-ipv4+
(constant).
+socks5-ipv6+
(constant).
+socks5-no-auth+
(constant).
+socks5-reserved+
(constant).
+socks5-succeeded+
(constant).
+socks5-version+
(constant).
build-cookie-headers
(function).
content-disposition
(function).
convert-body
(function).
copy-usocket-wrapped-stream
(function).
ensure-socks5-connected
(function).
make-connect-stream
(function).
make-proxy-authorization
(function).
make-ssl-stream
(function).
make-usocket-wrapped-stream
(function).
print-verbose-data
(function).
read-response
(function).
read-until-crlf*2
(function).
usocket-wrapped-stream
(structure).
usocket-wrapped-stream-p
(function).
usocket-wrapped-stream-stream
(reader).
(setf usocket-wrapped-stream-stream)
(writer).
dexador.util
common-lisp
.
*default-connect-timeout*
(special variable).
*default-proxy*
(special variable).
*default-read-timeout*
(special variable).
*default-user-agent*
(special variable).
*not-verify-ssl*
(special variable).
*verbose*
(special variable).
+crlf+
(special variable).
ascii-string-to-octets
(compiler macro).
ascii-string-to-octets
(function).
defun-careful
(macro).
defun-speedy
(macro).
make-random-string
(function).
octets
(type).
with-header-output
(macro).
write-connect-header
(function).
write-first-line
(function).
write-header
(compiler macro).
write-header
(function).
%ascii-string-to-octets
(function).
*careful-declaration*
(special variable).
*dexador-version*
(special variable).
*header-buffer*
(special variable).
*speedy-declaration*
(special variable).
write-header-field
(function).
write-header-value
(function).
dexador.body
common-lisp
.
content-length
(function).
content-type
(function).
decode-body
(function).
decompress-body
(function).
multipart-content-length
(function).
multipart-value-content-type
(function).
with-content-caches
(macro).
write-as-octets
(function).
write-multipart-content
(function).
*content-encoding-cache*
(special variable).
*content-type-cache*
(special variable).
content-disposition
(function).
convert-to-octets
(function).
define-alist-cache
(macro).
lookup-in-content-encoding-cache
(function).
(setf lookup-in-content-encoding-cache)
(function).
lookup-in-content-type-cache
(function).
(setf lookup-in-content-type-cache)
(function).
dexador.encoding
common-lisp
.
detect-charset
(function).
charset-to-encoding
(function).
detect-charset-from-html
(function).
parse-content-type
(function).
dexador.decoding-stream
Provides character decoding stream.
Similar to flexi-input-stream, except this uses Babel for decoding.
common-lisp
.
decoding-stream
(class).
make-decoding-stream
(function).
+buffer-size+
(constant).
decoding-stream-buffer
(generic reader).
(setf decoding-stream-buffer)
(generic writer).
decoding-stream-buffer-end-position
(generic reader).
(setf decoding-stream-buffer-end-position)
(generic writer).
decoding-stream-buffer-position
(generic reader).
(setf decoding-stream-buffer-position)
(generic writer).
decoding-stream-encoding
(generic reader).
(setf decoding-stream-encoding)
(generic writer).
decoding-stream-last-char
(generic reader).
(setf decoding-stream-last-char)
(generic writer).
decoding-stream-last-char-size
(generic reader).
(setf decoding-stream-last-char-size)
(generic writer).
decoding-stream-stream
(generic reader).
(setf decoding-stream-stream)
(generic writer).
fill-buffer
(function).
needs-to-fill-buffer-p
(function).
dexador.restarts
common-lisp
.
ignore-and-continue
(function).
retry-request
(function).
retry-request-ntimes
(function).
dexador
dex
common-lisp
.
dexador.error
.
dexador.restarts
.
dexador.connection-cache
common-lisp
.
*connection-pool*
(special variable).
*max-active-connections*
(special variable).
*use-connection-pool*
(special variable).
clear-connection-pool
(function).
make-connection-pool
(function).
push-connection
(function).
steal-connection
(function).
add-to-lru-pool
(function).
copy-lru-pool
(function).
copy-lru-pool-elt
(function).
evict-tail
(function).
get-from-lru-pool
(function).
lru-pool
(structure).
lru-pool-elt
(structure).
lru-pool-elt-elt
(reader).
(setf lru-pool-elt-elt)
(writer).
lru-pool-elt-eviction-callback
(reader).
(setf lru-pool-elt-eviction-callback)
(writer).
lru-pool-elt-key
(reader).
(setf lru-pool-elt-key)
(writer).
lru-pool-elt-next
(reader).
(setf lru-pool-elt-next)
(writer).
lru-pool-elt-p
(function).
lru-pool-elt-prev
(reader).
(setf lru-pool-elt-prev)
(writer).
lru-pool-hash-table
(reader).
(setf lru-pool-hash-table)
(writer).
lru-pool-head
(reader).
(setf lru-pool-head)
(writer).
lru-pool-lock
(reader).
(setf lru-pool-lock)
(writer).
lru-pool-max-elts
(reader).
(setf lru-pool-max-elts)
(writer).
lru-pool-num-elts
(reader).
(setf lru-pool-num-elts)
(writer).
lru-pool-p
(function).
lru-pool-tail
(reader).
(setf lru-pool-tail)
(writer).
make-lru-pool
(function).
make-lru-pool-elt
(function).
make-new-connection-pool
(function).
with-lock
(macro).
dexador.error
common-lisp
.
http-request-bad-gateway
(condition).
http-request-bad-request
(condition).
http-request-conflict
(condition).
http-request-expectation-failed
(condition).
http-request-failed
(function).
http-request-failed
(condition).
http-request-forbidden
(condition).
http-request-gateway-timeout
(condition).
http-request-gone
(condition).
http-request-http-version-not-supported
(condition).
http-request-internal-server-error
(condition).
http-request-length-required
(condition).
http-request-method-not-allowed
(condition).
http-request-misdirected-request
(condition).
http-request-not-acceptable
(condition).
http-request-not-found
(condition).
http-request-not-implemented
(condition).
http-request-payload-too-large
(condition).
http-request-payment-required
(condition).
http-request-precondition-failed
(condition).
http-request-proxy-authentication-required
(condition).
http-request-range-not-satisfiable
(condition).
http-request-request-timeout
(condition).
http-request-service-unavailable
(condition).
http-request-too-many-requests
(condition).
http-request-unauthorized
(condition).
http-request-unsupported-media-type
(condition).
http-request-upgrade-required
(condition).
http-request-uri-too-long
(condition).
request-method
(generic reader).
request-uri
(generic reader).
response-body
(generic reader).
response-headers
(generic reader).
response-status
(generic reader).
socks5-proxy-request-failed
(condition).
*request-failed-error*
(special variable).
define-request-failed-condition
(macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
If specified will be used as the default value of PROXY in calls to dexador. Defaults to the value of the environment variable HTTPS_PROXY or HTTP_PROXY if not on Windows.
Allowed number of active connections to all hosts. If you change this, then call (make-new-connection-pool).
Remove all elements from the connection pool, calling their eviction-callbacks.
Make a GET request to URI and return
(values body-or-stream status response-headers uri &optional opaque-socket-stream)
You may pass a real stream in as STREAM if you want us to communicate with the server via it – though if any errors occur, we will open a new connection to the server. If you have a previous OPAQUE-SOCKET-STREAM you can pass that in as STREAM as well and we will re-use that connection.
OPAQUE-SOCKET-STREAM is not returned if USE-CONNECTION-POOL is T, instead we keep track of it and
re-use it when needed.
If WANT-STREAM is T, then a STREAM is returned as the first value. You may read this as needed to
get the body of the response. If KEEP-ALIVE and USE-CONNECTION-POOL are T, then the stream will be
returned to the connection pool when you have read all the data or closed the stream. If KEEP-ALIVE
is NIL then you are responsible for closing the stream when done.
If KEEP-ALIVE is T and USE-CONNECTION-POOL is NIL, then the fifth value returned is a stream which
you can then pass in again using the STREAM option to re-use the active connection. If you ignore
the stream, it will get closed during garbage collection.
If KEEP-ALIVE is T and USE-CONNECTION-POOL is T, then there is no fifth
value (OPAQUE-SOCKET-STREAM) returned, but the active connection to the host/port may be reused in
subsequent calls. This removes the need for the caller to keep track of the active socket-stream
for subsequent calls.
While CONTENT is allowed in a GET request the results are ill-defined and not advised.
ON-CLOSE-OR-EOF takes a single parameter, STREAM (the stream passed in here, not the keep-alive-stream), and should handle clean-up of it
Add STREAM back to connection pool with key HOST-PORT. EVICTION-CALLBACK must be a function of a single parameter, and will be called with STREAM if the HOST-PORT/SOCKET pair is evicted from the connection pool.
Return the STREAM associated with key HOST-PORT
keep-alive-stream
)) ¶keep-alive-stream
)) ¶A stream; when we read END elements from it, we call CLOSE-ACTION on it and set this slot to nil.
http-request-failed
)) ¶http-request-failed
)) ¶uri
.
http-request-failed
)) ¶body
.
http-request-failed
)) ¶http-request-failed
)) ¶keep-alive-stream
) &key abort) ¶usocket-wrapped-stream
) &key abort) ¶decoding-stream
) &key abort) ¶decoding-stream
) &rest initargs) ¶keep-alive-stream
)) ¶usocket-wrapped-stream
)) ¶decoding-stream
)) ¶lru-pool-elt
) str) ¶keep-alive-stream
)) ¶keep-alive-chunked-stream
)) ¶decoding-stream
)) ¶keep-alive-stream
)) ¶Return :EOF or byte read. When we hit EOF or finish reading our allowed content, call the close-action on our underlying-stream and return EOF.
sb-gray
.
keep-alive-chunked-stream
)) ¶Return :EOF or byte read. When we hit :EOF or finish reading our chunk, call the close-action on our underlying-stream and return :EOF
sb-gray
.
decoding-stream
)) ¶sb-gray
.
keep-alive-stream
) sequence start end &key) ¶trivial-gray-streams
.
keep-alive-chunked-stream
) sequence start end &key) ¶trivial-gray-streams
.
decoding-stream
) char) ¶sb-gray
.
error
.
http-request-bad-gateway
.
http-request-bad-request
.
http-request-conflict
.
http-request-expectation-failed
.
http-request-forbidden
.
http-request-gateway-timeout
.
http-request-gone
.
http-request-http-version-not-supported
.
http-request-internal-server-error
.
http-request-length-required
.
http-request-method-not-allowed
.
http-request-misdirected-request
.
http-request-not-acceptable
.
http-request-not-found
.
http-request-not-implemented
.
http-request-payload-too-large
.
http-request-payment-required
.
http-request-precondition-failed
.
http-request-proxy-authentication-required
.
http-request-range-not-satisfiable
.
http-request-request-timeout
.
http-request-service-unavailable
.
http-request-too-many-requests
.
http-request-unauthorized
.
http-request-unsupported-media-type
.
http-request-upgrade-required
.
http-request-uri-too-long
.
socks5-proxy-request-failed
.
:body
This slot is read-only.
:status
This slot is read-only.
:headers
This slot is read-only.
:uri
This slot is read-only.
common-lisp
.
:method
This slot is read-only.
:reason
fundamental-character-input-stream
.
close
.
(setf decoding-stream-buffer)
.
decoding-stream-buffer
.
(setf decoding-stream-buffer-end-position)
.
decoding-stream-buffer-end-position
.
(setf decoding-stream-buffer-position)
.
decoding-stream-buffer-position
.
(setf decoding-stream-encoding)
.
decoding-stream-encoding
.
(setf decoding-stream-last-char)
.
decoding-stream-last-char
.
(setf decoding-stream-last-char-size)
.
decoding-stream-last-char-size
.
(setf decoding-stream-stream)
.
decoding-stream-stream
.
initialize-instance
.
open-stream-p
.
stream-element-type
.
stream-read-char
.
stream-unread-char
.
common-lisp
.
stream
(error ":stream is required")
:stream
(error ":encoding is required")
:encoding
(simple-array (unsigned-byte 8) (128))
(make-array dexador.decoding-stream::+buffer-size+ :element-type (quote (unsigned-byte 8)))
fixnum
dexador.decoding-stream::+buffer-size+
fixnum
-1
character
#\nul
fixnum
0
(or null function)
:on-close
:chunga-stream
fundamental-input-stream
.
A stream; when we read END elements from it, we call CLOSE-ACTION on it and set this slot to nil.
common-lisp
.
(or null stream)
(error ":stream is required")
:stream
:end
A (lambda (stream abort)) which will be called with keep-alive-stream-stream when the stream is either closed or we hit end of file or we hit end
:on-close-or-eof
This slot is read-only.
Adds ELT to an LRU-POOL with potentially non-unique KEY, potentially evicting another element to
make room. EVICTION-CALLBACK will be called with one parameter ELT, when ELT is evicted from the
LRU-POOL. ADD-TO-LRU-POOL must be called with LRU-POOL-LOCK held.
If an element was evicted to make space, returns (values evicted-elt eviction-callback t) otherwise nil. The EVICTION-CALLBACK should take one parameter, the evicted element.
Detect the body’s charset by (roughly) searching meta tags which has "charset" attribute.
Removes the least recently used element of the LRU-POOL and returns
(values evicted-element eviction-callback t) if there was
an element to remove, otherwise nil. Must be called with LRU-POOL-LOCK held.
Outside the LRU-POOL-LOCK you must call the returned EVICTION-CALLBACK with the EVICTED-ELEMENT.
Takes an element from the LRU-POOL matching KEY. Must be called with LRU-POOL-LOCK held. The element is removed from the pool.
elt
.
key
.
next
.
prev
.
head
.
lock
.
tail
.
Will close the underlying stream if close-if is T (unless it is already closed). If the stream is already closed or we closed it returns :EOF otherwise NIL.
keep-alive-chunked-stream
)) ¶automatically generated reader method
keep-alive-chunked-stream
)) ¶automatically generated writer method
keep-alive-stream
)) ¶A (lambda (stream abort)) which will be called with keep-alive-stream-stream when the stream is either closed or we hit end of file or we hit end
decoding-stream
)) ¶automatically generated reader method
decoding-stream
)) ¶automatically generated writer method
decoding-stream
)) ¶automatically generated reader method
decoding-stream
)) ¶automatically generated writer method
decoding-stream
)) ¶automatically generated reader method
decoding-stream
)) ¶automatically generated writer method
decoding-stream
)) ¶automatically generated reader method
decoding-stream
)) ¶automatically generated writer method
decoding-stream
)) ¶automatically generated reader method
decoding-stream
)) ¶automatically generated writer method
decoding-stream
)) ¶automatically generated reader method
decoding-stream
)) ¶automatically generated writer method
decoding-stream
)) ¶automatically generated reader method
decoding-stream
)) ¶automatically generated writer method
keep-alive-stream
)) ¶automatically generated reader method
end
.
keep-alive-stream
)) ¶automatically generated writer method
end
.
structure-object
.
(bt2:make-lock :name "connection pool lock")
common-lisp
.
(or null hash-table)
(or null dexador.connection-cache::lru-pool-elt)
(or null dexador.connection-cache::lru-pool-elt)
fixnum
0
fixnum
8
structure-object
.
(or null dexador.connection-cache::lru-pool-elt)
(or null dexador.connection-cache::lru-pool-elt)
common-lisp
.
(or null function)
structure-object
.
common-lisp
.
Jump to: | %
(
A B C D E F G H I K L M N O P R S U W |
---|
Jump to: | %
(
A B C D E F G H I K L M N O P R S U W |
---|
Jump to: | *
+
B C E H K L M N O P R S T U |
---|
Jump to: | *
+
B C E H K L M N O P R S T U |
---|
Jump to: | B C D E F H K L M O P R S T U W |
---|
Jump to: | B C D E F H K L M O P R S T U W |
---|