Function: nrepl-send-eval-request

nrepl-send-eval-request is a byte-compiled function defined in nrepl-client.el.

Signature

(nrepl-send-eval-request INPUT CALLBACK CONNECTION &key NS LINE COLUMN ADDITIONAL-PARAMS TOOLING)

Documentation

Send the request INPUT and register the CALLBACK as the response handler.

The request is dispatched via CONNECTION. If NS is non-nil, include it in the request. LINE and COLUMN, if non-nil, define the position of INPUT in its buffer. A CONNECTION uniquely determines two connections available: the standard interaction one and the tooling session. If the tooling is desired, set TOOLING to true. ADDITIONAL-PARAMS is a plist to be appended to the request message.

This is the keyword-argument form; nrepl-request:eval is the legacy positional shim retained for backward compatibility.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/nrepl-client.el
(cl-defun nrepl-send-eval-request (input callback connection
                                         &key ns line column additional-params tooling)
  "Send the request INPUT and register the CALLBACK as the response handler.
The request is dispatched via CONNECTION.  If NS is non-nil,
include it in the request.  LINE and COLUMN, if non-nil, define the position
of INPUT in its buffer.  A CONNECTION uniquely determines two connections
available: the standard interaction one and the tooling session.  If the
tooling is desired, set TOOLING to true.
ADDITIONAL-PARAMS is a plist to be appended to the request message.

This is the keyword-argument form; `nrepl-request:eval' is the legacy
positional shim retained for backward compatibility."
  (nrepl-send-request (append (nrepl--eval-request input ns line column)
                              (nrepl--connection-eval-params connection)
                              additional-params)
                      callback
                      connection
                      tooling))