FLOW::peer

Description

This iRule command returns the TCL flow handle for the peer flow. On error an exception is thrown with a message indicating the cause of failure.

Syntax

FLOW::peer <any_chars>

Examples

when SERVER_CONNECTED {
    # Get server side flow handle.
    set cf [FLOW::this]

    # Get client side flow handle.
    set peer [FLOW::peer $cf]
    log local0. "Peer flow is $peer"
    unset cf peer
}