# ssrf_safe_async_client

> **Function** in `langchain_core`

📖 [View in docs](https://reference.langchain.com/python/langchain-core/_security/_transport/ssrf_safe_async_client)

Create an `httpx.AsyncClient` with SSRF protection.

Drop-in replacement for `httpx.AsyncClient(...)` - callers just swap
the constructor call.  Transport-specific kwargs (`verify`, `cert`,
`retries`, etc.) are forwarded to the inner `AsyncHTTPTransport`;
everything else goes to the `AsyncClient`.

## Signature

```python
ssrf_safe_async_client(
    policy: SSRFPolicy = SSRFPolicy(),
    **kwargs: object = {},
) -> httpx.AsyncClient
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/d2931d878fd39f9dcfef78911056ecef3271ee71/libs/core/langchain_core/_security/_transport.py#L224)