|
Methods defined here:
- __call__(self, environ: os._Environ, user: commons.User, server_configuration: ~ServerConfiguration, filename: str, commande: List[str], inputs: List[str], csrf_token: str = None) -> Tuple[str, Dict[str, str], str]
- A redirect page (Error code 301, javascript redirect and redirect title) to /web/ or /api/.
- auth(self, environ: os._Environ, user: commons.User, server_configuration: ~ServerConfiguration, filename: str, commande: List[str], inputs: List[str], csrf_token: str = None) -> Tuple[str, Dict[str, str], str]
- This function return check auth and return headers, error and page.
- js(self, environ: os._Environ, user: commons.User, server_configuration: ~ServerConfiguration, filename: str, commande: List[str], inputs: List[str], csrf_token: str = None) -> Tuple[str, Dict[str, str], str]
- This function get Javascripts Scripts and send it.
- reload(self, environ: os._Environ, user: commons.User, server_configuration: ~ServerConfiguration, filename: str, commande: List[str], inputs: List[str], csrf_token: str = None) -> Tuple[str, Dict[str, str], str]
- This function is a simple URL to reload scripts
(useful for developpers to add/modify a script).
- static(self, environ: os._Environ, user: commons.User, server_configuration: ~ServerConfiguration, filename: str, commande: List[str], inputs: List[str], csrf_token: str = None) -> Tuple[str, Dict[str, str], str]
- This function get static file and send it.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes defined here:
- __annotations__ = {'ip_blacklist': typing.Dict[str, commons.Blacklist], 'js_paths': typing.Dict[str, commons.CallableFile], 'packages': <class 'utils.DefaultNamespace'>, 'scripts': typing.Dict[str, commons.ScriptConfig], 'sessions': typing.Dict[int, commons.Session], 'statics_paths': typing.Dict[str, commons.CallableFile], 'user_blacklist': typing.Dict[str, commons.Blacklist]}
- api = <Pages.Api object>
- ip_blacklist = {}
- sessions = {}
- user_blacklist = {}
- web = <Pages.Web object>
|