Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

set_state

Method
This is a method of the GatewaySessionProtocol class in the gateway module.
Set a session state value.

Signature

def set_state(&mut self, key: &str, value: serde_json::Value) -> ()

Parameters

key
&str
required
No description available.
value
serde_json::Value
required
No description available.

Returns

Returns
()
The result of the operation.