about summary refs log tree commit diff stats
path: root/jsonrpc.el
blob: 394af1e30fbe8f15e8acd171a7279de663bacc6b (plain) (blame)
1
2
3
4
5
6
7
8
(require 'jsonrpc)
(defvar *conn* (make-instance 'jsonrpc-process-connection
			      :process (lambda ()
					 (open-network-stream
					  "JSONRPC" nil
					  "localhost" 8192))))
(jsonrpc-request *conn* :subtract '(:l 42 :r 12))
(jsonrpc-notify *conn* :quit '())