(pad-tag ver)Returns the appropriate padding tag (as a string or 4-byte array) based on the protocol version.
Returns the appropriate padding tag (as a string or 4-byte array) based on the protocol version.
(validate-and-return-vers vrs)Validates VER contents, accounting for different drafts of the protocol. Throws on error, or returns a map with keys :client-vers :chosen-ver on success.
Validates VER contents, accounting for different drafts of the protocol. Throws on error, or returns a map with keys :client-vers :chosen-ver on success.
(validate-nonce ver nonce)Validates nonce length based on version. Throws on error; returns :ok on success
Validates nonce length based on version. Throws on error; returns :ok on success
(validate-type ver tp)Validates nonce length based on version. Throws on error; returns :ok on success
Validates nonce length based on version. Throws on error; returns :ok on success
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 |