Public data-oriented client lifecycle and execution facade.
Public data-oriented client lifecycle and execution facade.
(client? value)Returns true when value is a client created by this namespace.
Returns true when value is a client created by this namespace.
(close! client)Closes the transport at most once. Repeated calls are safe and return false.
Closes the transport at most once. Repeated calls are safe and return false.
(closed? client)Returns whether client lifecycle has been closed.
Returns whether client lifecycle has been closed.
(create-client)(create-client {:keys [registry services stage-overrides] :as options})Creates a client map without opening a network connection.
Pipeline services and stage overrides exist for boundary injection and contract tests. A reusable JDK HTTP transport is created by default without connecting.
Creates a client map without opening a network connection. Pipeline services and stage overrides exist for boundary injection and contract tests. A reusable JDK HTTP transport is created by default without connecting.
(execute! client endpoint-id)(execute! client endpoint-id params)Executes endpoint-id with immutable params through the generic pipeline.
Executes endpoint-id with immutable params through the generic pipeline.
(next-client-order-id client)Generates a client order id through the client's configured service.
Generates a client order id through the client's configured service.
(public-config client)Returns the client's non-sensitive, serializable configuration view.
Returns the client's non-sensitive, serializable configuration view.
(register-closeable! client close-fn)Registers an idempotent no-argument close function under client ownership.
Registers an idempotent no-argument close function under client ownership.
(signed-user-stream-request client request-id)Builds a fresh secret-bearing UDS request for the WebSocket transport boundary.
This internal connector function must never be logged or placed in diagnostics.
Builds a fresh secret-bearing UDS request for the WebSocket transport boundary. This internal connector function must never be logged or placed in diagnostics.
(synchronize-time! client)Synchronizes the default client clock against Binance server time.
Returns safe timing metadata. Clients configured with a custom :clock own
that clock's synchronization and cannot use this helper.
Synchronizes the default client clock against Binance server time. Returns safe timing metadata. Clients configured with a custom `:clock` own that clock's synchronization and cannot use this helper.
(websocket-url client channel)Returns the configured secure URL for an internal WebSocket channel.
Returns the configured secure URL for an internal WebSocket channel.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |