Docs · DialCatz

Other protocols

Beyond plain HTTP in DialCatz — Server-Sent Events, JSON-RPC, Socket.IO, the Pusher protocol (Laravel Reverb, Sockudo, Soketi, Pusher Channels) and gRPC with server reflection or .proto files.

DialCatz speaks more than REST. WebSocket and GraphQL are on the requests page; this page covers the rest: Server-Sent Events, JSON-RPC, Socket.IO, the Pusher protocol and gRPC. They are saved, organised, shared and synced like any other request.

The request-kind picker

The select in front of the address is a request-kind picker. Under HTTP sit the seven methods; under Other protocols:

Kind Shows as The address
WebSocket WS ws:// or wss://
Socket.IO SIO ws:// or wss://, the server and an optional namespace
Pusher (Reverb) PSH ws://host:port/app/<key>
gRPC gRPC grpc:// or grpcs:// (TLS)

Picking a kind turns the address into its scheme and keeps the host and port: https://api.example.com becomes wss://api.example.com or grpcs://api.example.com, and back again when you pick an HTTP method. Tabs and the tree show WS, SIO, PSH and gRPC where an HTTP request shows its method.

Server-Sent Events and JSON-RPC need no kind of their own: they are HTTP.

Samples

Getting started has a More protocols folder with a request for each, against public servers:

Request Shows
Live events (SSE) Wikipedia’s live edits as Server-Sent Events
GraphQL: a country A GraphQL query with variables
JSON-RPC: latest block and JSON-RPC: a batch A call and a batch to a public Ethereum node
WebSocket echo A plain WebSocket echo server
Socket.IO echo Socket.IO over the WebSocket
gRPC: talk to Eliza and gRPC: a server stream A unary call and a server stream to Buf’s public Eliza demo, through server reflection

An older install gets the folder added to its Getting started once. Pusher needs a server of your own (Reverb, Sockudo or Soketi), so it has no sample.

Server-Sent Events

Send a GET to an address that answers with Content-Type: text/event-stream, and the response stays open:

  • The status line shows event stream, and the Events tab opens with a live dot and a count.
  • Streaming · events arrive as the server sends them. Each event shows its time, its name (message when it has none), its id and retry when it has them, and its data — pretty-printed when it is JSON. The newest is on top.
  • Stop closes the stream; Clear empties the list after it ended. The tab keeps up to 2000 events.
  • When it ends, the tab says Closed and why: The server ended the stream, The connection closed, or Stopped.

The request timeout does not cut a stream that has started. The collection runner and MCatzP collect the first 3 seconds of events, then close the stream, so a run never hangs on one.

JSON-RPC

JSON-RPC is a body mode, next to GraphQL. Set the Body to JSON-RPC (usually with POST):

  • Method — the method to call, such as user.get.
  • Params (JSON) — its params.
  • Notification — sends the call without an id; the server does not answer it.
  • Batch — a list of calls in one request instead: Calls (JSON list), each { "method": …, "params": …, "notify": true } (params and notify optional). They get ids 1, 2, …

DialCatz wraps it as { "jsonrpc": "2.0", "method": …, "params": …, "id": … }, and {{variables}} work inside it. A warning shows while the params would not make valid JSON.

The response opens on an RPC tab: each reply matched to its call by id, as RESULT or ERROR. An error shows its code and message, what a standard code means — -32700 Parse error, -32600 Invalid request, -32601 Method not found, -32602 Invalid params, -32603 Internal error, -32000 to -32099 Server error — and its data. The tab’s count turns red with the number of errors.

Exported to Postman, a JSON-RPC body goes as the raw JSON it sends; exported to OpenAPI, as the request body.

Socket.IO

Pick Socket.IO in the request-kind picker. The address is the server and, if you use one, the namespace: ws://localhost:3000 or ws://localhost:3000/chat. DialCatz adds /socket.io/?EIO=4&transport=websocket itself, answers the server’s pings and joins the namespace.

  • Connect / Disconnect as for a WebSocket; headers and auth go with the handshake.
  • In Message: Event is the event’s name, and the editor holds its args — a JSON list sends several args, other JSON or text sends one, and none is fine too. Emit event sends it (mod+enter while connected).
  • The log shows each event under its name.

Socket.IO over long polling is not supported: the server must accept the WebSocket transport.

Pusher: Reverb, Sockudo, Soketi and Pusher Channels

Pick Pusher (Reverb) to talk to a server that speaks the Pusher protocol: Laravel Reverb, Sockudo, Soketi or Pusher Channels. The address ends in the app key: ws://localhost:8080/app/{{REVERB_APP_KEY}}. DialCatz adds ?protocol=7 when it is missing, answers the server’s pings and keeps the socket id it is given.

In Message:

  • Channel and Subscribe — join a channel while connected: orders, private-user.1, presence-room. Joined channels show as chips; × unsubscribes. With Save in the request ticked, the channel joins every time the request connects.
  • App secret — signs private- and presence- channels (HMAC-SHA256, as the protocol asks). It starts as {{REVERB_APP_SECRET}}. Keep it a {{variable}}: the secret then stays in your environment, and DialCatz warns when you type a value instead.
  • Presence user — the user id a presence channel joins as (dialcatz when empty).
  • Client event — pick one of your private or presence channels, name the event (client- is added when missing), put its data in the editor, and Trigger client event. The server must allow client events.

The log labels each message channel · event. The signing happens inside DialCatz, so the secret never goes over the connection.

DevCatz and DoCatz open their socket servers here ready to connect — see Open a socket server in DialCatz.

gRPC

Pick gRPC, and type grpc://host:port, or grpcs://host:port for TLS. The panes change: Params goes, Headers becomes Metadata, and Body becomes Message.

Find the service and method

In Message:

  • Load from server asks the server for its services through server reflection (v1, then v1alpha; each gets up to 8 seconds). Reload asks again.
  • .proto files… — for a server without reflection, pick its .proto files; their imports are found next to them.
  • Then pick the service and the method. A server-streaming method says (server stream).
  • Example fills the message editor with every field of the request type.

Below the pickers DialCatz shows the request type → the response type, and where it got them. A TLS address on a server without TLS says to use grpc:// instead of grpcs://.

Send

The message is JSON, {{variables}} included. Metadata comes from the Metadata tab, and a bearer token in Auth goes as authorization metadata. Headers that only make sense in HTTP/1 (such as Connection) are left out.

The answer is an ordinary response, so scripts, tests, History and the runner work as usual:

  • the status is the closest HTTP status, with a gRPC badge naming the gRPC code (gRPC OK, gRPC NOT_FOUND …);
  • the response message is the JSON body;
  • metadata and trailers show under Headers;
  • a server stream collects every message it sends — up to 200, or until the timeout — and the badge counts them.

Unary calls and server streaming are supported. Client streaming and bidirectional streaming are not: those methods are greyed out in the picker.

MCatzP

An AI assistant can use these through MCatzP too: create_request and update_request take grpc, socket_io and pusher (the Pusher secret only as a {{variable}}) and the JSON-RPC body fields; grpc_describe lists a gRPC server’s services; websocket_send emits Socket.IO events and Pusher client events; websocket_channel subscribes a Pusher tab to a channel; and get_response gives a tab’s Server-Sent Events.

Last updated 2026-11-20