HVCP v1 wire codec. Pure: frames in, frames out, no IO.
Host-free cljc. Spec: docs/protocol.md (L0-L2).
HVCP v1 wire codec. Pure: frames in, frames out, no IO. Host-free cljc. Spec: docs/protocol.md (L0-L2).
(classify frame)Classify one decoded inbound frame as a response, a request or invalid.
Classify one decoded inbound frame as a response, a request or invalid.
(dispatch-op verb params id)The op invoking VERB with PARAMS through the Vim-side dispatch function.
The op invoking VERB with PARAMS through the Vim-side dispatch function.
(encode-op {:keys [op id] :as wire-op})The wire frame for a hive -> Vim op.
The wire frame for a hive -> Vim op.
(envelope->result value)Translate what hive#rpc#dispatch returned into a Result. Anything that is not an envelope (Vim's own "ERROR" string, a missing plugin) is a :vim/vim-error.
Translate what hive#rpc#dispatch returned into a Result. Anything that is not an envelope (Vim's own "ERROR" string, a missing plugin) is a :vim/vim-error.
(error category message)The hive-side error Result for CATEGORY (a wire name or :vim keyword).
The hive-side error Result for CATEGORY (a wire name or :vim keyword).
(hello-reply hello session-id)Decide the reply to a hello. Accepts when the protocol major matches.
Decide the reply to a hello. Accepts when the protocol major matches.
(next-id last-id)The request id that follows LAST-ID. Ids start at -1 and decrease.
The request id that follows LAST-ID. Ids start at -1 and decrease.
(reply-frame id payload)The frame answering Vim request ID with PAYLOAD.
The frame answering Vim request ID with PAYLOAD.
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 |