Aller directement au contenu principal

openhands.server.session.manager

SessionManager Objects

class SessionManager()

send

async def send(sid: str, data: dict[str, object]) -> bool

Sends data to the client.

send_error

async def send_error(sid: str, message: str) -> bool

Sends an error message to the client.

send_message

async def send_message(sid: str, message: str) -> bool

Sends a message to the client.