Skip to content

This is a very painfully minimal working example for using websockets on Common Lisp, using Fukamachi’s websocket-driver.

License

Notifications You must be signed in to change notification settings

parjanya/dasa-minimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a very painfully minimal working example for using websockets on Common Lisp, using Fukamachi’s websocket-driver.

Loading it and pointing the browser to the index.htm path, ~/common-lisp/dasa/www/index.htm in my case, should be enough to get it to work.

Connections are stored on the creatively named *connections* hashtable. In order to send anything to a client, grab the desired connection and use the websocket-driver:send function. As an example I’ve set a function named send-to-latest-connection, which you can use to send a button, stored as botão, to the latest connection, and lo, it (should have) worked!

About

This is a very painfully minimal working example for using websockets on Common Lisp, using Fukamachi’s websocket-driver.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published