> ## Documentation Index
> Fetch the complete documentation index at: https://docs.generalrobotics.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# ZenohSession

## ZenohSession

Inherits from: `object`

*No class docstring.*

### **init**

```python theme={null}
ZenohSession.__init__(*, mode: Optional[str] = None, connect: Optional[List[str]] = None, listen: Optional[List[str]] = None, config_file: Optional[str] = None) -> None
```

*No docstring provided.*

<ResponseField name="Arguments">
  <ParamField query="mode (Optional[str])" type="Optional[str]">
    *No description provided.*
  </ParamField>

  <ParamField query="connect (Optional[List[str]])" type="Optional[List[str]]">
    *No description provided.*
  </ParamField>

  <ParamField query="listen (Optional[List[str]])" type="Optional[List[str]]">
    *No description provided.*
  </ParamField>

  <ParamField query="config_file (Optional[str])" type="Optional[str]">
    *No description provided.*
  </ParamField>
</ResponseField>

<ResponseField name="Returns">
  <ResponseField name="returns" type="None" />
</ResponseField>

### session

```python theme={null}
ZenohSession.session()
```

*No docstring provided.*

### close

```python theme={null}
ZenohSession.close()
```

Close the Zenoh session and cleanup resources.
