Skip to content

[feature] Shutting down websocket #97

Description

@habi498

Is your feature request related to a problem? Please describe.
I was trying to integrate websocket server inside squirrel via its api. I created function StartWebsocketServer(host, port, timeout);
Then i see that users cannot close it.

Describe the solution you'd like
I like to have a function ws_shutdown() which will shut everything down, stop the threads, close the sockets.

Describe alternatives you've considered
I considered alternative as manually close port on ws.c

Additional context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions