diff options
author | Teddy Wing | 2021-01-24 17:57:44 +0100 |
---|---|---|
committer | Teddy Wing | 2021-01-24 17:57:44 +0100 |
commit | ea3acc904d9d32202ef7896d8c2c052f22bc705d (patch) | |
tree | d45e4165b0e6e731c46cb391394cdb1341306f5f | |
parent | 3bfa8b4334b308c82ed289ea33cb1f56bcdce0dc (diff) | |
download | extreload-ea3acc904d9d32202ef7896d8c2c052f22bc705d.tar.bz2 |
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.
-rw-r--r-- | l/src/main.lisp | 4 |
1 files changed, 2 insertions, 2 deletions
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")))) |