encode-message

swank.rpc

  • (encode-message writer message)
Write an rpc message encoded using the swank rpc protocol.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source swank/rpc.clj:130 top

(defn encode-message
  "Write an rpc message encoded using the swank rpc protocol."
  ([#^Writer writer message]
     (let [str (with-out-str
                  (write-form *out* message)) ]
       (log-event "WRITE: %s\n" str)
       (write-packet writer str))))
Vars in swank.rpc/encode-message: defn let str
Used in 1 other vars write-swank-message

Comments top

No comments for encode-message. Log in to add a comment.