# transports ## Pages - [Transports](https://capnweb.com/transports/index.md) — Choosing between HTTP batch, WebSocket, MessagePort, and custom transports, and the session model they share. - [Custom Transports](https://capnweb.com/transports/custom/index.md) — Implement RpcTransport to run Cap'n Web over any bidirectional stream, and tune how much encoding it does for you. - [HTTP Batch](https://capnweb.com/transports/http-batch/index.md) — Send a whole dependent call graph in one HTTP request using newHttpBatchRpcSession. - [MessagePort](https://capnweb.com/transports/message-port/index.md) — Use Cap'n Web to talk to Web Workers, iframes, and other same-process contexts. - [WebSocket](https://capnweb.com/transports/websocket/index.md) — Long-lived, fully bidirectional Cap'n Web sessions with newWebSocketRpcSession.