Skip to content

[feature] Shutting down websocket #97

@habi498

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions