mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
* docs(docs): start implementing docs website * update video url * add autogenerated codebase docs for backend * precommit * update links * fix config and video * gh actions * rename * workdirs * path * path * fix doc1 * redo markdown * docs * change main folder name * simplify readme * add back architecture * Fix lint errors * lint * update poetry lock --------- Co-authored-by: Jim Su <jimsu@protonmail.com>
36 lines
495 B
Markdown
36 lines
495 B
Markdown
---
|
|
sidebar_label: manager
|
|
title: opendevin.server.session.manager
|
|
---
|
|
|
|
## SessionManager Objects
|
|
|
|
```python
|
|
class SessionManager()
|
|
```
|
|
|
|
#### send
|
|
|
|
```python
|
|
async def send(sid: str, data: Dict[str, object]) -> bool
|
|
```
|
|
|
|
Sends data to the client.
|
|
|
|
#### send\_error
|
|
|
|
```python
|
|
async def send_error(sid: str, message: str) -> bool
|
|
```
|
|
|
|
Sends an error message to the client.
|
|
|
|
#### send\_message
|
|
|
|
```python
|
|
async def send_message(sid: str, message: str) -> bool
|
|
```
|
|
|
|
Sends a message to the client.
|
|
|