---
title: http
sidebarTitle: http
---
# `fastmcp.client.transports.http`
Streamable HTTP transport for FastMCP Client.
## Classes
### `StreamableHttpTransport`
Transport implementation that connects to an MCP server via Streamable HTTP Requests.
**Methods:**
#### `connect_session`
```python
connect_session(self, **session_kwargs: Unpack[SessionKwargs]) -> AsyncIterator[ClientSession]
```
#### `get_session_id`
```python
get_session_id(self) -> str | None
```
#### `close`
```python
close(self)
```