Back to product page

Stop method


Stops WEB server.

Syntax

  • Basic
object.Stop()
The Stop(object) syntax has these parts:
objectAn expression evaluating to an object of type wodWebServer

Remarks

Stop method will immediately disconnect all connected users and stop accepting any new connections. Further more, Port that is used for listening will be freed and you can use it for some other purpose. If you try to obtain list or snapshot of currently connected users at the time you shut down server, you should do it before you call Stop method, because it will delete list of all users at that time. To start server again, call Start method.

Platforms

Windows