PITrail Event

Provides detailed information about the interaction with the server.

Syntax

ldap.on('PITrail', [callback])

Callback

The 'callback' is called when the 'PITrail' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.direction
e.description
e.message

Remarks

The PITrail 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.

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