This is the jsonrpc Reference Manual, version 0.3.2, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 06:32:15 2024 GMT+0.
jsonrpc/jsonrpc.asd
jsonrpc/main/file-type.lisp
jsonrpc/request-response/file-type.lisp
jsonrpc/errors/file-type.lisp
jsonrpc/yason/file-type.lisp
jsonrpc/transport/interface/file-type.lisp
jsonrpc/connection/file-type.lisp
jsonrpc/base/file-type.lisp
jsonrpc/mapper/file-type.lisp
jsonrpc/utils/file-type.lisp
jsonrpc/client/file-type.lisp
jsonrpc/server/file-type.lisp
The main system appears first, followed by any subsystem dependency.
jsonrpc
jsonrpc/main
jsonrpc/request-response
jsonrpc/errors
jsonrpc/yason
jsonrpc/transport/interface
jsonrpc/connection
jsonrpc/base
jsonrpc/mapper
jsonrpc/utils
jsonrpc/client
jsonrpc/server
jsonrpc
JSON-RPC 2.0 server/client implementation
Eitaro Fukamachi
BSD 2-Clause
0.3.2
jsonrpc/main
(system).
jsonrpc/main
Eitaro Fukamachi
BSD 2-Clause
jsonrpc/request-response
(system).
jsonrpc/transport/interface
(system).
jsonrpc/base
(system).
jsonrpc/client
(system).
jsonrpc/server
(system).
jsonrpc/errors
(system).
jsonrpc/mapper
(system).
jsonrpc/request-response
Eitaro Fukamachi
BSD 2-Clause
jsonrpc/errors
(system).
yason
(system).
alexandria
(system).
jsonrpc/yason
(system).
jsonrpc/transport/interface
Eitaro Fukamachi
BSD 2-Clause
jsonrpc/connection
(system).
bordeaux-threads
(system).
chanl
(system).
jsonrpc/connection
Eitaro Fukamachi
BSD 2-Clause
jsonrpc/request-response
(system).
bordeaux-threads
(system).
dissect
(system).
chanl
(system).
vom
(system).
jsonrpc/base
Eitaro Fukamachi
BSD 2-Clause
jsonrpc/mapper
(system).
jsonrpc/transport/interface
(system).
jsonrpc/connection
(system).
jsonrpc/request-response
(system).
jsonrpc/errors
(system).
jsonrpc/utils
(system).
chanl
(system).
trivial-timeout
(system).
jsonrpc/mapper
Eitaro Fukamachi
BSD 2-Clause
jsonrpc/errors
(system).
dissect
(system).
jsonrpc/request-response
(system).
jsonrpc/utils
Eitaro Fukamachi
BSD 2-Clause
usocket
(system).
bordeaux-threads
(system).
jsonrpc/client
Eitaro Fukamachi
BSD 2-Clause
jsonrpc/base
(system).
jsonrpc/mapper
(system).
jsonrpc/transport/interface
(system).
jsonrpc/connection
(system).
jsonrpc/request-response
(system).
alexandria
(system).
jsonrpc/server
Eitaro Fukamachi
BSD 2-Clause
jsonrpc/base
(system).
jsonrpc/mapper
(system).
jsonrpc/transport/interface
(system).
jsonrpc/connection
(system).
jsonrpc/request-response
(system).
alexandria
(system).
Files are sorted by type and then listed depth-first from the systems components trees.
jsonrpc/jsonrpc.asd
jsonrpc/main/file-type.lisp
jsonrpc/request-response/file-type.lisp
jsonrpc/errors/file-type.lisp
jsonrpc/yason/file-type.lisp
jsonrpc/transport/interface/file-type.lisp
jsonrpc/connection/file-type.lisp
jsonrpc/base/file-type.lisp
jsonrpc/mapper/file-type.lisp
jsonrpc/utils/file-type.lisp
jsonrpc/client/file-type.lisp
jsonrpc/server/file-type.lisp
jsonrpc/main/file-type.lisp
jsonrpc/main
(system).
make-client
(function).
make-server
(function).
jsonrpc/request-response/file-type.lisp
jsonrpc/request-response
(system).
*jsonrpc-version*
(special variable).
encode
(method).
encode
(method).
jsonrpc-version
(type).
make-error-response
(function).
make-request
(function).
make-response
(function).
parse-message
(function).
read-message
(function).
request
(structure).
request-id
(reader).
(setf request-id)
(writer).
request-method
(reader).
(setf request-method)
(writer).
request-params
(reader).
(setf request-params)
(writer).
response
(structure).
response-error
(reader).
(setf response-error)
(writer).
response-error-code
(function).
response-error-message
(function).
response-id
(reader).
(setf response-id)
(writer).
response-result
(reader).
(setf response-result)
(writer).
write-message
(function).
copy-request
(function).
copy-response
(function).
json-rpc-version-p
(function).
read-headers
(function).
request-p
(function).
request-version
(reader).
(setf request-version)
(writer).
response-p
(function).
response-version
(reader).
(setf response-version)
(writer).
valid-request-p
(function).
valid-response-p
(function).
jsonrpc/errors/file-type.lisp
jsonrpc/errors
(system).
*debug-on-error*
(special variable).
encode
(method).
jsonrpc-callback-error
(condition).
jsonrpc-error
(condition).
jsonrpc-error-code
(reader method).
(setf jsonrpc-error-code)
(writer method).
jsonrpc-error-message
(reader method).
(setf jsonrpc-error-message)
(writer method).
jsonrpc-internal-error
(condition).
jsonrpc-invalid-params
(condition).
jsonrpc-invalid-request
(condition).
jsonrpc-invalid-response
(condition).
jsonrpc-method-not-found
(condition).
jsonrpc-parse-error
(condition).
jsonrpc-server-error
(condition).
jsonrpc/yason/file-type.lisp
jsonrpc/yason
(system).
*parse-json-arrays-as-vectors*
(special variable).
*parse-json-booleans-as-symbols*
(special variable).
*parse-json-null-as-keyword*
(special variable).
*parse-object-as*
(special variable).
*parse-object-key-fn*
(special variable).
parse
(function).
jsonrpc/transport/interface/file-type.lisp
jsonrpc/transport/interface
(system).
find-mode-class
(function).
receive-message-using-transport
(generic function).
run-processing-loop
(generic function).
run-reading-loop
(generic function).
send-message-using-transport
(generic function).
start-client
(generic function).
start-server
(generic function).
transport
(class).
transport-connection
(reader method).
(setf transport-connection)
(writer method).
transport-jsonrpc
(reader method).
transport-message-callback
(reader method).
(setf transport-message-callback)
(writer method).
transport-threads
(reader method).
(setf transport-threads)
(writer method).
*transport-load-lock*
(special variable).
jsonrpc/connection/file-type.lisp
jsonrpc/connection
(system).
*connection*
(special variable).
add-message-to-outbox
(function).
add-message-to-queue
(generic function).
connection
(class).
connection-outbox
(reader method).
(setf connection-outbox)
(writer method).
connection-request-callback
(reader method).
(setf connection-request-callback)
(writer method).
connection-request-queue
(reader method).
(setf connection-request-queue)
(writer method).
connection-stream
(reader method).
(setf connection-stream)
(writer method).
process-request
(generic function).
wait-for-ready
(method).
connection-response-callback
(reader method).
connection-response-lock
(reader method).
connection-response-map
(reader method).
send-and-notify
(generic function).
set-callback-for-id
(function).
jsonrpc/base/file-type.lisp
jsonrpc/base
(system).
*default-timeout*
(special variable).
call
(generic function).
call-async
(generic function).
call-async-to
(function).
call-to
(generic function).
ensure-connected
(method).
jsonrpc
(class).
jsonrpc-transport
(reader method).
(setf jsonrpc-transport)
(writer method).
notify
(generic function).
notify-async
(generic function).
notify-to
(function).
on-close-connection
(generic function).
on-open-connection
(generic function).
receive-message
(function).
send-message
(generic function).
*call-to-error*
(special variable).
*call-to-result*
(special variable).
jsonrpc-params
(type).
jsonrpc/mapper/file-type.lisp
jsonrpc/mapper
(system).
clear-methods
(generic function).
dispatch
(generic function).
exposable
(class).
expose
(generic function).
exposable-mapper
(reader method).
(setf exposable-mapper)
(writer method).
jsonrpc/utils/file-type.lisp
jsonrpc/utils
(system).
hash-exists-p
(function).
make-id
(function).
random-port
(function).
port-available-p
(function).
jsonrpc/client/file-type.lisp
jsonrpc/client
(system).
call
(method).
call-async
(method).
client
(class).
client-connect
(function).
client-connect-using-class
(function).
client-disconnect
(function).
notify
(method).
notify-async
(method).
on-open-connection
(method).
version
(reader method).
(setf version)
(writer method).
jsonrpc/server/file-type.lisp
jsonrpc/server
(system).
bind-server-to-transport
(function).
broadcast
(method).
call-async
(method).
multicall-async
(method).
notify
(method).
notify-async
(method).
on-close-connection
(method).
on-open-connection
(method).
server
(class).
server-listen
(function).
server-client-connections
(reader method).
(setf server-client-connections)
(writer method).
server-lock
(reader method).
Packages are listed by definition order.
jsonrpc/yason
jsonrpc/server
jsonrpc/mapper
jsonrpc/connection
jsonrpc/errors
jsonrpc/base
jsonrpc/transport/interface
jsonrpc/request-response
jsonrpc/client
jsonrpc
jsonrpc/utils
jsonrpc/yason
common-lisp
.
*parse-json-arrays-as-vectors*
(special variable).
*parse-json-booleans-as-symbols*
(special variable).
*parse-json-null-as-keyword*
(special variable).
*parse-object-as*
(special variable).
*parse-object-key-fn*
(special variable).
parse
(function).
jsonrpc/server
common-lisp
.
jsonrpc/base
.
bind-server-to-transport
(function).
broadcast
(generic function).
multicall-async
(generic function).
server
(class).
server-listen
(function).
server-client-connections
(generic reader).
(setf server-client-connections)
(generic writer).
server-lock
(generic reader).
jsonrpc/mapper
common-lisp
.
jsonrpc/errors
.
clear-methods
(generic function).
dispatch
(generic function).
exposable
(class).
expose
(generic function).
register-method
(generic function).
exposable-mapper
(generic reader).
(setf exposable-mapper)
(generic writer).
jsonrpc/connection
jsonrpc/connection provides a class ‘connection’ for holding data of each connections, like inbox and outbox.
common-lisp
.
*connection*
(special variable).
add-message-to-outbox
(function).
add-message-to-queue
(generic function).
connection
(class).
connection-outbox
(generic reader).
(setf connection-outbox)
(generic writer).
connection-request-callback
(generic reader).
(setf connection-request-callback)
(generic writer).
connection-request-queue
(generic reader).
(setf connection-request-queue)
(generic writer).
connection-stream
(generic reader).
(setf connection-stream)
(generic writer).
process-request
(generic function).
wait-for-ready
(generic function).
connection-response-callback
(generic reader).
connection-response-lock
(generic reader).
connection-response-map
(generic reader).
send-and-notify
(generic function).
set-callback-for-id
(function).
jsonrpc/errors
common-lisp
.
*debug-on-error*
(special variable).
jsonrpc-callback-error
(condition).
jsonrpc-error
(condition).
jsonrpc-error-code
(generic reader).
(setf jsonrpc-error-code)
(generic writer).
jsonrpc-error-message
(generic reader).
(setf jsonrpc-error-message)
(generic writer).
jsonrpc-internal-error
(condition).
jsonrpc-invalid-params
(condition).
jsonrpc-invalid-request
(condition).
jsonrpc-invalid-response
(condition).
jsonrpc-method-not-found
(condition).
jsonrpc-parse-error
(condition).
jsonrpc-server-error
(condition).
jsonrpc/base
common-lisp
.
*default-timeout*
(special variable).
call
(generic function).
call-async
(generic function).
call-async-to
(function).
call-to
(generic function).
ensure-connected
(generic function).
jsonrpc
(class).
jsonrpc-transport
(generic reader).
(setf jsonrpc-transport)
(generic writer).
notify
(generic function).
notify-async
(generic function).
notify-to
(function).
on-close-connection
(generic function).
on-open-connection
(generic function).
receive-message
(function).
send-message
(generic function).
*call-to-error*
(special variable).
*call-to-result*
(special variable).
jsonrpc-params
(type).
jsonrpc/transport/interface
common-lisp
.
find-mode-class
(function).
receive-message-using-transport
(generic function).
run-processing-loop
(generic function).
run-reading-loop
(generic function).
send-message-using-transport
(generic function).
start-client
(generic function).
start-server
(generic function).
transport
(slot).
transport
(class).
transport-connection
(generic reader).
(setf transport-connection)
(generic writer).
transport-jsonrpc
(generic reader).
transport-message-callback
(generic reader).
(setf transport-message-callback)
(generic writer).
transport-threads
(generic reader).
(setf transport-threads)
(generic writer).
*transport-load-lock*
(special variable).
jsonrpc/request-response
common-lisp
.
jsonrpc/errors
.
*jsonrpc-version*
(special variable).
jsonrpc-version
(type).
make-error-response
(function).
make-request
(function).
make-response
(function).
parse-message
(function).
read-message
(function).
request
(structure).
request-id
(reader).
(setf request-id)
(writer).
request-method
(reader).
(setf request-method)
(writer).
request-params
(reader).
(setf request-params)
(writer).
response
(structure).
response-error
(reader).
(setf response-error)
(writer).
response-error-code
(function).
response-error-message
(function).
response-id
(reader).
(setf response-id)
(writer).
response-result
(reader).
(setf response-result)
(writer).
write-message
(function).
copy-request
(function).
copy-response
(function).
json-rpc-version-p
(function).
read-headers
(function).
request-p
(function).
request-version
(reader).
(setf request-version)
(writer).
response-p
(function).
response-version
(reader).
(setf response-version)
(writer).
valid-request-p
(function).
valid-response-p
(function).
jsonrpc/client
common-lisp
.
client
(class).
client-connect
(function).
client-connect-using-class
(function).
client-disconnect
(function).
version
(generic reader).
(setf version)
(generic writer).
jsonrpc
jsonrpc/main
make-client
(function).
make-server
(function).
jsonrpc/utils
common-lisp
.
hash-exists-p
(function).
make-id
(function).
random-port
(function).
port-available-p
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Open an interactive debugger on any error.
Default JSON-RPC version used for request/response encoding/validation.
Initializes all necessary event handlers inside TRANSPORT to process calls to the SERVER.
This function can be usefule if you want to create server and transport instance manually, and then to start transport as part of a bigger server.
Creates and returns a new instance of the client class.
Optionally the jsonrpc version can be supplied. Valid values are 2.0 or 1.0
Return a port number not in use from 50000 to 60000.
id
.
id
.
connection
) (messages list
)) ¶connection
) (message request
)) ¶connection
) (message response
)) ¶Makes a synchronouse RPC call. Should return an instance of JSONRPC/REQUEST-RESPONSE:RESPONSE class.
connection
)) ¶automatically generated reader method
connection
)) ¶automatically generated writer method
connection
)) ¶automatically generated reader method
connection
)) ¶automatically generated writer method
connection
)) ¶automatically generated reader method
connection
)) ¶automatically generated writer method
connection
)) ¶automatically generated reader method
connection
)) ¶automatically generated writer method
jsonrpc-error
)) ¶jsonrpc-error
)) ¶code
.
jsonrpc-error
)) ¶jsonrpc-error
)) ¶connection
) (requests list
)) ¶connection
) (request request
)) ¶connection
)) ¶jsonrpc-error
) &optional stream) ¶yason
.
structure-object
.
jsonrpc/request-response:jsonrpc-version
jsonrpc/request-response:*jsonrpc-version*
common-lisp
.
structure-object
.
jsonrpc/request-response:jsonrpc-version
jsonrpc/request-response:*jsonrpc-version*
common-lisp
.
A client is used for creating requests.
JSON-RPC version of the client. Default is *jsonrpc-version* which is 2.0, while support for 1.0 is experimental.
jsonrpc/request-response:jsonrpc-version
jsonrpc/request-response:*jsonrpc-version*
:version
add-message-to-queue
.
add-message-to-queue
.
add-message-to-queue
.
(setf connection-outbox)
.
connection-outbox
.
(setf connection-request-callback)
.
connection-request-callback
.
(setf connection-request-queue)
.
connection-request-queue
.
connection-response-callback
.
connection-response-lock
.
connection-response-map
.
(setf connection-stream)
.
connection-stream
.
process-request
.
process-request
.
send-and-notify
.
wait-for-ready
.
common-lisp
.
:stream
:request-callback
(make-instance (quote chanl:unbounded-channel))
(make-hash-table :test (quote equal))
This slot is read-only.
(bordeaux-threads:make-recursive-lock "jsonrpc/connection response-lock")
This slot is read-only.
(make-hash-table :test (quote equal))
This slot is read-only.
(bordeaux-threads:make-condition-variable)
(bordeaux-threads:make-recursive-lock)
(make-instance (quote chanl:unbounded-channel))
(make-hash-table :test (quote equal))
(or null jsonrpc/transport/interface:transport)
:transport
Predicate function which returns t, if response is valid and nil if not. Default rpc-version is 2.0, alternatively 1.0 can be supplied.
connection
)) ¶automatically generated reader method
connection
)) ¶automatically generated reader method
connection
)) ¶automatically generated reader method
connection
) channel message) ¶Jump to: | (
A B C D E F G H J M N O P R S T V W |
---|
Jump to: | (
A B C D E F G H J M N O P R S T V W |
---|
Jump to: | %
*
C E I J M O P R S T V |
---|
Jump to: | %
*
C E I J M O P R S T V |
---|
Jump to: | C E F J P R S T |
---|
Jump to: | C E F J P R S T |
---|