← All features

WebSockets and server-sent events

Watch messages as they arrive

Streaming requests live in the same .http files, in the JetBrains syntax. Press Connect and the response area becomes a live log of messages.

A WebSocket echo server: the file's messages are sent once connected, and replies arrive in the log.

How it works

Streams in plain text

  • WebSockets: the body's messages are sent in order once connected. === separates them, and === wait-for-server waits for the server first.
  • Type more in the box below the log and press Send. JSON messages are shown indented.
  • Server-sent events: any request with Accept: text/event-stream is read as it arrives, one event per entry.
  • Everything applies: headers, variables, OAuth tokens, client certificates and the proxy.
  • GraphQL requests are supported too, in the JetBrains or VS Code REST Client form.
api/streams.http
### Price feed
WEBSOCKET wss://feed.example.com/prices
Authorization: Bearer {{$auth.token("my-api")}}

{ "subscribe": "EURUSD" }
=== wait-for-server
{ "subscribe": "GBPUSD" }

### Notifications
GET {{baseUrl}}/notifications
Accept: text/event-stream
Reqjet logo

Try it on your own requests

Free for Windows, macOS and Linux, and it opens the .http files you already have.