SecureBlackbox 2020 Python Edition

Questions / Feedback?

on_query_quota Event

Reflects a quota enquiry by a client.

Syntax

class WebDAVServerQueryQuotaEventParams(object):
  @property
  def connection_id() -> int: ...
  @property
  def username() -> str: ...
  @property
  def available() -> int: ...
  @available.setter
  def available(value) -> None: ...
  @property
  def used() -> int: ...
  @used.setter
  def used(value) -> None: ...

# In class WebDAVServer:
@property
def on_query_quota() -> Callable[[WebDAVServerQueryQuotaEventParams], None]: ...
@on_query_quota.setter
def on_query_quota(event_hook: Callable[[WebDAVServerQueryQuotaEventParams], None]) -> None: ...

Remarks

This event fires in response to a client's enquire about their quota status. Subscribe to this event to react to such enquiries in a customized manner. Use Available and Used properties to report the respective amounts back to the client.

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