(self)
| 444 | self.page.children['head'].set_internal_js(str(id(self)), net_interface_ip, pending_messages_queue_length, websocket_timeout_timer_ms) |
| 445 | |
| 446 | def _net_interface_ip(self): |
| 447 | return self.headers.get('Host', "%s:%s"%(self.connection.getsockname()[0],self.server.server_address[1])) |
| 448 | def main(self, *_): |
| 449 | """ Subclasses of App class *must* declare a main function |
| 450 | that will be the entry point of the application. |