Skip to main content

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.