MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / prepare

Method prepare

src/ext/sockjs/tornado/basehandler.py:31–34  ·  view source on GitHub ↗

Increment connection count

(self)

Source from the content-addressed store, hash-verified

29
30 # Statistics
31 def prepare(self):
32 """Increment connection count"""
33 self.logged = True
34 self.server.stats.on_conn_opened()
35
36 def _log_disconnect(self):
37 """Decrement connection count"""

Callers

nothing calls this directly

Calls 1

on_conn_openedMethod · 0.80

Tested by

no test coverage detected