HTTP::request_num

Description

Returns the number of HTTP transactions that a client or server has made on its current connection, including the current transaction.

Syntax

HTTP::request_num

HTTP::request_num

  • Returns the number of HTTP transactions that a client or server has made on its current connection, including the current transaction.

Examples

when HTTP_REQUEST {
  log local0. "Client request number [HTTP::request_num]"
}
when HTTP_RESPONSE {
  log local0. "Server response number [HTTP::request_num]"
}