typing¤
Custom type annotations.
LibType
module-attribute
¤
LibType = Literal[
"cdll",
"windll",
"oledll",
"net",
"clr",
"java",
"com",
"activex",
]
Supported library types.
PathLike
module-attribute
¤
PathLike = Union[
str, bytes, os.PathLike[str], os.PathLike[bytes]
]
Server32Subclass
¤
Server32Subclass(host, port, **kwargs)
Bases: Protocol
A subclass of Server32.
Source code in src/msl/loadlib/typing.py
25 26 | |
serve_forever
¤
serve_forever()
Handle one request at a time until shutdown.
Source code in src/msl/loadlib/typing.py
28 29 | |
server_activate
¤
server_activate()
Called by constructor to activate the server.
Source code in src/msl/loadlib/typing.py
31 32 | |
server_bind
¤
server_bind()
Called by constructor to bind the socket.
Source code in src/msl/loadlib/typing.py
34 35 | |
server_close
¤
server_close()
Called to clean-up the server.
Source code in src/msl/loadlib/typing.py
37 38 | |
shutdown
¤
shutdown()
Stops the serve_forever loop.
Source code in src/msl/loadlib/typing.py
40 41 | |
shutdown_handler
¤
shutdown_handler()
Called just before the server shuts down.
Source code in src/msl/loadlib/typing.py
43 44 | |