Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jhttp: add a Getter type to handle GET requests #68

Merged
merged 2 commits into from
Dec 24, 2021

Conversation

creachadair
Copy link
Owner

The Getter type bridges HTTP GET requests to JSON-RPC. Unlike a Bridge, the
method and parameters rely on the URL rather than the request body. Results
are written back to the client without JSON-RPC request frames.

The default request parser treats query fields as plain strings; the caller can
plug in more specific parsing via options.

The Getter type bridges HTTP GET requests to JSON-RPC.  Unlike a Bridge, the
method and parameters rely on the URL rather than the request body.  Results
are written back to the client without JSON-RPC request frames.

The default request parser treats query fields as plain strings; the caller can
plug in more specific parsing via options.
@creachadair creachadair merged commit a6e1ee1 into default Dec 24, 2021
@creachadair creachadair deleted the mjf/http-getter branch December 24, 2021 20:50
creachadair added a commit that referenced this pull request Dec 24, 2021
Breaking change:
- 9d2d659 jhttp: Remove the CheckRequest bridge hook (#67)

Feature:
- a6e1ee1 jhttp: add a Getter type to handle GET requests (#68)

Cleanup:
- 5926132 Bypass Errorf for unformatted messages.
- b4a4034 Update playground example.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant