Function: eca-api-send-request-response

eca-api-send-request-response is a natively compiled function defined in eca-api.el.

Signature

(eca-api-send-request-response SESSION REQUEST RESPONSE)

Documentation

Send back to server the RESPONSE from REQUEST for SESSION.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-api.el
(cl-defun eca-api-send-request-response (session request response)
  "Send back to server the RESPONSE from REQUEST for SESSION."
  (let ((body (list :jsonrpc "2.0"
                    :id (plist-get request :id)
                    :result response)))
    (eca-api--send! session body)))