Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WsSession

Description

Go websocket server for sending messages between clients in a session.

Table of Contents

Usage

  1. Fork the source code to get your own copy and compile it.

  2. Start the server by running the executable.

  3. Send a ws handshake to start a session on the server. When creating or joining a session, the first message sent on the connection is a control message containing the status of your connection. On error, you have 5 seconds to read the message then the connection is closed.

  4. Use this code to connect other clients to the same session and share messages.

Contributing

If you would like to contribute or outline issues and potential improvements, feel free to raise an issue or create a pull request.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages