on_resource_properties Event

Fires for each entry returned through a property search.

Syntax

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

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

Remarks

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]