(client-destroy)
(client-destroy client)
This function should be called on auth state authorizationStateClosed authorizationStateLoggingOut Optionally accepts client if you want to manage it yourself.
This function should be called on auth state authorizationStateClosed authorizationStateLoggingOut Optionally accepts client if you want to manage it yourself.
(client-execute message)
(client-execute client message)
Sends a JSON message to underlying client. Return type is JSON string. Only a few requests can be executed synchronously.
Sends a JSON message to underlying client. Return type is JSON string. Only a few requests can be executed synchronously.
(client-receive timeout)
(client-receive client timeout)
Call a receive method of underlying client. Returns JSON or null after timeout and no data. Should not be called from 2 different threads at the same time.
Call a receive method of underlying client. Returns JSON or null after timeout and no data. Should not be called from 2 different threads at the same time.
(client-send message)
(client-send client message)
Sends a JSON message to underlying client. Return type is void
Sends a JSON message to underlying client. Return type is void
(client-start path-to-lib verbosity-level)
(client-start path-to-lib verbosity-level buffer-size)
path-to-lib: absolute path to libtdjson.so file verbosity-level: log level
path-to-lib: absolute path to libtdjson.so file verbosity-level: log level
(init-reader-loop timeout)
Timeout that is being used by underlying libtdjson
Timeout that is being used by underlying libtdjson
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close