Skip to main content

Module session

Module session 

Source
Expand description

NETCONF session management.

The Session owns all protocol state: message-id counter, device capabilities, framing strategy, and RPC dispatch. It sits between the thin Client wrapper and the transport/framing layers.

Client (ergonomic API)
   │
   ▼
Session (msg-id, capabilities, framing, RPC dispatch)
   │              │
   ▼              ▼
RPC Layer    Framing Layer
                  │
                  ▼
             Transport (byte stream)

Structs§

Session
A NETCONF session that owns all protocol state.

Enums§

SessionState
Session states.