---
title: "infra/websocket-proxy"
description: "WebSocket proxy built on axum with Brotli compression and exponential backoff reconnects."
source: https://basehub.org/crates/infra/websocket-proxy/
---
import { LinkCard } from '@astrojs/starlight/components';

## Overview

The `infra/websocket-proxy` sub-crate (`websocket-proxy`) is part of the [infra crate group](/crates/infra/overview/).

It runs an axum-based WebSocket proxy that fans out flashblock streams with Brotli compression and exponential backoff on reconnects.

## Source

<LinkCard title="View source on GitHub" href="https://github.com/base/base/tree/main/crates/infra/websocket-proxy" />
