[#HTTPServer-StopAccepting]
= xref:HTTPServer.adoc[HTTPServer]::StopAccepting
:relfileprefix: ../
:mrdocs:

Stop accepting new connections in the I&sol;O loop&period; Must be called first in StopHTTPServer() before DisconnectAllClients()&period; A connection accepted after the &quot;wait for 0 connections&quot; loop exits would remain in m&lowbar;connected when the destructor is called&period;

== Synopsis

Declared in `&lt;httpserver&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
StopAccepting();
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
