Skip to main content

close_session

Method
This is a method of the GatewayProtocol class in the protocols module.
Close a session.

Signature

def close_session(session_id: str) -> bool

Parameters

session_id
str
required
The session ID to close

Returns

Returns
bool
True if session was closed, False if not found