on_resource_properties Event

Fires for each entry returned through a property search.


class WebDAVResourcePropertiesEventParams(object):
  def resource_uri() -> str: ...
  def resource_properties() -> str: ...

# In class WebDAV:
def on_resource_properties() -> Callable[[WebDAVResourcePropertiesEventParams], None]: ...
def on_resource_properties(event_hook: Callable[[WebDAVResourcePropertiesEventParams], None]) -> None: ...


The on_resource_properties event is fired when resource properties are received as a response to find_properties.

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

The ResourceProperties contains the full XML containing the properties of the resource.

ResourceURI contains the name of the resource.

The parsed property names, values, and status are contained within the properties properties.

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