ClojureDocs

导航

命名空间

remote-prepl

clojure.core.server

自 1.10 起可用
  • (remote-prepl host port in-reader out-fn & {:keys [valf readf], :or {valf read-string, readf (fn* [p1__9081# p2__9082#] (read p1__9081# false p2__9082#))}})
Implements a prepl on in-reader and out-fn by forwarding to a
remote [io-]prepl over a socket.  Messages will be read by readf, a
fn of a LineNumberingPushbackReader and EOF value or a symbol naming
same (default #(read %1 false %2)),
:ret and :tap vals will be processed by valf, a fn of one argument
or a symbol naming same (default read-string). If that function
throws, :val will be unprocessed.
 Alpha, subject to change.