From ea3acc904d9d32202ef7896d8c2c052f22bc705d Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 24 Jan 2021 17:57:44 +0100 Subject: main.lisp: Rename `get-targets-msg` to `target-get-targets-msg` Prefix the function name with the name of the DevTools domain to distinguish Target message functions from Runtime functions. --- l/src/main.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'l/src/main.lisp') diff --git a/l/src/main.lisp b/l/src/main.lisp index 16acb5d..65372d2 100644 --- a/l/src/main.lisp +++ b/l/src/main.lisp @@ -7,13 +7,13 @@ (wsd:on :message *client* #'ws-on-message) - (wsd:send *client* (get-targets-msg 1)) + (wsd:send *client* (target-get-targets-msg 1)) (sleep 5) (wsd:close-connection *client*)) -(defun get-targets-msg (call-id) +(defun target-get-targets-msg (call-id) (jsown:to-json `(:obj ("id" . ,call-id) ("method" . "Target.getTargets")))) -- cgit v1.2.3