v0.4 — WebSocket + gRPC requests, code-gen, environments#14
Merged
Conversation
added 4 commits
July 4, 2026 13:21
Add non-REST request kinds alongside the existing HTTP editor:
- WebSocket panel: live ws:// / wss:// streams over Wails events, with a
persisted stream log.
- gRPC panel: unary calls via server reflection (no .proto upload), with a
persisted last response.
- ws/grpc config and output persist through the store (session +
collections) the same way REST requests do — a new ConnConfig carries the
connection settings plus WSLog / GRPCResponse output.
- New-request kind menu and sidebar badges for rest / ws / grpc.
Also lands the surrounding v0.4 work: copy-as-code (fetch/Go/Python),
environments with {{var}} substitution, and payload diffing.
Docs: add the WebSocket screenshot and feature note to the README.
Selecting a gRPC method now fetches a JSON template of its request message (all fields at zero value) via a new GRPCMethodTemplate backend method, and loads it into the body editor. A pending-ref guard prevents a slow fetch from overwriting a newer method selection.
The backend and lint CI jobs run go vet / go test / golangci-lint without building the frontend, so //go:embed all:frontend/dist had no matching files and failed. .gitignore already excepts this placeholder; it was just never committed.
grpcurl's reflection API returns jhump/protoreflect/desc descriptors, so we can't drop the deprecated package without leaving grpcurl. The warning was previously masked by the go:embed typecheck failure.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds non-REST request kinds and the surrounding v0.4 tooling.
WebSocket & gRPC
ws:///wss://streams over Wails events, with a persisted stream log..protoupload), with a persisted last response.ConnConfigcarries connection settings plusWSLog/GRPCResponse; live socket handles stay transient (a dead connection doesn't restore).rest/ws/grpc.Also in this branch
{{var}}substitutionTesting
go test .— green, incl. newTestStore_WSGRPCConnRoundTrip(saves → reloads from disk → assertswsLog/grpcResponsesurvive; guards the Go dropped-field bug).tsc --noEmitclean.Not included
{}(no header UI on those tabs yet).