Contents Menu Expand Light mode Dark mode Auto light/dark mode
socketsc 1.9 documentation
Logo
  • Getting started
    • Creating a server
    • Creating a client
    • Removing events
    • Default events
      • Server side
      • Client side
  • References
    • Server
    • Client
    • Constants
Back to top

Default events#

Some connection-related events are fired by default. You can handle them by adding a listener with the .on() method, just like any other event.

  • Server side
    • connection
    • disconnect
    • message
    • error
  • Client side
    • connect
    • disconnect
    • message
    • error

Learn more#

  • Library references

Next
Server side
Previous
Removing events
Copyright © 2022, Dan5py
Made with Furo
On this page
  • Default events
    • Learn more