on_connect Event
Reports an accepted connection.
Syntax
class WebDAVServerConnectEventParams(object): @property def connection_id() -> int: ... @property def remote_address() -> str: ... @property def remote_port() -> int: ... # In class WebDAVServer: @property def on_connect() -> Callable[[WebDAVServerConnectEventParams], None]: ... @on_connect.setter def on_connect(event_hook: Callable[[WebDAVServerConnectEventParams], None]) -> None: ...
Remarks
class fires this event to report that a new connection has been established. ConnectionId indicates the unique ID assigned to this connection. The same ID will be supplied to any other events related to this connection, such as on_get_request or on_auth_attempt.