MCPcopy Index your code
hub / github.com/webpy/webpy / stop

Method stop

web/application.py:358–362  ·  view source on GitHub ↗

Stops the http server started by run.

(self)

Source from the content-addressed store, hash-verified

356 return wsgi.runwsgi(self.wsgifunc(*middleware))
357
358 def stop(self):
359 """Stops the http server started by run."""
360 if httpserver.server:
361 httpserver.server.stop()
362 httpserver.server = None
363
364 def cgirun(self, *middleware):
365 """

Callers 5

test_stopsimpleserverMethod · 0.80
test_layers_unicodeMethod · 0.80
test_layers_bytesMethod · 0.80
test_unicode_urlMethod · 0.80
runsimpleFunction · 0.80

Calls

no outgoing calls

Tested by 4

test_stopsimpleserverMethod · 0.64
test_layers_unicodeMethod · 0.64
test_layers_bytesMethod · 0.64
test_unicode_urlMethod · 0.64