You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
365 B
EmacsLisp

(require 'map)
(load-file "/home/hugo/projects/stomp/stomp.el")
(setq proc (make-process
:name "stomp-client"
:buffer "Barry"
:command "nc localhost 61613"
:filter (stomp-filter-function (lambda (message) (message "%s" message)))))
(setq message ())
(stomp-send-message proc (map-put message 'command "CONNECT"))