Skip to main content

Documentation Index

Fetch the complete documentation index at: https://bruno-a6972042-mintlify-testing-jsonbody-jsonschema-1777266.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

WebSocket support is available from Bruno 2.13.0.
Bruno now supports WebSocket connections, enabling you to test real-time communication protocols and bidirectional data exchange. This feature allows you to establish WebSocket connections, send messages, and receive responses in real-time.

What are WebSockets?

WebSockets provide a persistent, full-duplex communication channel between a client and server. Unlike traditional HTTP requests that follow a request-response pattern, WebSockets maintain an open connection that allows both the client and server to send messages at any time.

WebSocket vs HTTP

FeatureHTTPWebSocket
ConnectionRequest-ResponsePersistent
LatencyHigher (connection overhead)Lower (persistent connection)
Data FlowUnidirectionalBidirectional
Use CaseTraditional APIsReal-time applications
OverheadHigher per requestLower per message
ComplexitySimpleMore complex

Next Steps