on_dir_list Event

Fires for each entry returned in a directory listing.

Syntax

class WebDAVDirListEventParams(object):
  @property
  def resource_uri() -> str: ...
  @property
  def display_name() -> str: ...
  @property
  def content_language() -> str: ...
  @property
  def content_length() -> str: ...
  @property
  def content_type() -> str: ...
  @property
  def last_modified() -> str: ...

# In class WebDAV:
@property
def on_dir_list() -> Callable[[WebDAVDirListEventParams], None]: ...
@on_dir_list.setter
def on_dir_list(event_hook: Callable[[WebDAVDirListEventParams], None]) -> None: ...

Remarks

The on_dir_list event is fired when a directory listing is received as a response to list_directory.

The on_start_transfer and on_end_transfer events mark the beginning and end of the event stream.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Python Edition - Version 20.0 [Build 8161]