Table of Contents

TSocketHttpServer.Stop Method

Stops the server: closes the listeners and all connections and waits for the worker threads to finish the requests being processed.

Remarks

Active WebSocket sessions are ended so their workers can complete. Does nothing when the server is not running.

Syntax

Unit: Sparkle.Socket.Server

procedure TSocketHttpServer.Stop;

See also