Skip to content

Comments

Simple HTTP client protocol#77

Open
czechboy0 wants to merge 1 commit intomainfrom
hd-simple-http-client-protocol
Open

Simple HTTP client protocol#77
czechboy0 wants to merge 1 commit intomainfrom
hd-simple-http-client-protocol

Conversation

@czechboy0
Copy link
Contributor

Motivation

Opening for an easier discussion about #65.

Modifications

Added a SimpleHTTPClient protocol that's a super-protocol of StreamingHTTPClient (renamed from HTTPClient), with a default implementation.

Result

Ability to conform concrete client implementations that don't have full bidirectional streaming + trailers support to a less-capable, but still quite useful HTTP client abstraction. Basically, any JSON-in-JSON-out API can be built on top of SimpleHTTPClient, so most REST APIs can use this simpler protocol.

Test Plan

N/A

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