Get req

Purpose: Obtain data that describes the input request.

 get-req \
         errno | error | cookie-count | cookie <cookie index> \
         | arg-count | arg-value <arg index> | input-count | \
         | input-value <input index> | input-name <input index> \
         | header <header> | referring-url | method \
         | content-type | trace-file | process-id | name \
     to <variable>

Information related to an input request can be obtained with get-req statement and the result stored into <variable> (in "to" clause). The following can be obtained (all are strings except where stated otherwise):
Examples
Get the name of current trace file:
 get-req trace-file to trace_file

See also
Request information
get-req  
See all
documentation


Copyright (c) 2019-2024 Gliim LLC. All contents on this web site is "AS IS" without warranties or guarantees of any kind.