on_pi_trail Event
Provides detailed information about the interaction with the server.
Syntax
class LDAPPITrailEventParams(object): @property def direction() -> int: ... @property def description() -> str: ... @property def message() -> str: ... # In class LDAP: @property def on_pi_trail() -> Callable[[LDAPPITrailEventParams], None]: ... @on_pi_trail.setter def on_pi_trail(event_hook: Callable[[LDAPPITrailEventParams], None]) -> None: ...
Remarks
The on_pi_trail event provides detailed information about all communication with the server. This is useful for debugging purposes.
Direction specifies the origin of the data. Possible values are:
- 0 - Client
- 1 - Server
Description is a short description of the current packet. This is human readable and useful for informational logging.
Message contains a hex encoded version of the raw message. This represents the exact value sent over the wire.