Skip to content

kotlin: response interfaces#265

Merged
buildbreaker merged 13 commits intomasterfrom
demo-response-callback
Jul 22, 2019
Merged

kotlin: response interfaces#265
buildbreaker merged 13 commits intomasterfrom
demo-response-callback

Conversation

@buildbreaker
Copy link
Copy Markdown

@buildbreaker buildbreaker commented Jul 18, 2019

Adding the Client interface and the streaming request interface method for opening a stream

Signed-off-by: Alan Chiu achiu@lyft.com

For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md

Description: Adding the Client and the streaming request method for opening a stream
Risk Level: low
Testing: n/a
Docs Changes: n/a
Release Notes: n/a
[Optional Fixes #Issue]
[Optional Deprecated:]

Signed-off-by: Alan Chiu <achiu@lyft.com>
Copy link
Copy Markdown
Contributor

@rebello95 rebello95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall I think the response interfaces look great for an initial pass, but have a question about the StreamEmitter. This definitely paves the way for streaming support, and mostly maintains parity with the C interface while providing some helpful abstractions (such as parsing out the status code).

Signed-off-by: Alan Chiu <achiu@lyft.com>
@buildbreaker buildbreaker changed the title Demo response callback kotlin: response interfaces Jul 18, 2019
@rebello95
Copy link
Copy Markdown
Contributor

Looks great to me after a couple comments!

@buildbreaker
Copy link
Copy Markdown
Author

I'm working on the comments/docs

Signed-off-by: Alan Chiu <achiu@lyft.com>
Signed-off-by: Alan Chiu <achiu@lyft.com>
@buildbreaker buildbreaker marked this pull request as ready for review July 18, 2019 23:53
@buildbreaker buildbreaker added this to the v0.2 "Primo" milestone Jul 18, 2019
Alan Chiu added 2 commits July 18, 2019 17:27
Signed-off-by: Alan Chiu <achiu@lyft.com>
Signed-off-by: Alan Chiu <achiu@lyft.com>
rebello95 added a commit that referenced this pull request Jul 19, 2019
Adds Swift interfaces for responses within Envoy. These should be at parity with the interfaces being added for Kotlin in #265.

Replaces #261.

Resolves #118.

Signed-off-by: Michael Rebello <mrebello@lyft.com>
Signed-off-by: Alan Chiu <achiu@lyft.com>
Copy link
Copy Markdown
Member

@junr03 junr03 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking good. I left a few comments.

The comments apply to both PRs, just wanted to centralize discussion here given this is where we have left comments in the past.

Alan Chiu added 3 commits July 22, 2019 11:00
Signed-off-by: Alan Chiu <achiu@lyft.com>
Signed-off-by: Alan Chiu <achiu@lyft.com>
Signed-off-by: Alan Chiu <achiu@lyft.com>
@goaway
Copy link
Copy Markdown
Contributor

goaway commented Jul 22, 2019

Looks great. I'm really liking the direction we've taken here, and I think this close mechanism is a clean way of allowing chaining while preventing the invalid, already-closed case.

@rebello95 this applies to your PR as well, though I'm posting comments here.

Alan Chiu added 2 commits July 22, 2019 12:40
Signed-off-by: Alan Chiu <achiu@lyft.com>
Signed-off-by: Alan Chiu <achiu@lyft.com>
fix
Signed-off-by: Alan Chiu <achiu@lyft.com>
rebello95 added a commit that referenced this pull request Jul 22, 2019
Adds Swift interfaces for responses within Envoy. These should be at parity with the interfaces being added for Kotlin in #265.

Replaces #261.

Resolves #118.
Also resolves #247.

Signed-off-by: Michael Rebello <me@michaelrebello.com>
Copy link
Copy Markdown
Contributor

@goaway goaway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work

@buildbreaker buildbreaker merged commit 8f4ec73 into master Jul 22, 2019
@buildbreaker buildbreaker deleted the demo-response-callback branch July 22, 2019 20:43
@buildbreaker
Copy link
Copy Markdown
Author

thanks @rebello95 @goaway !

jpsim pushed a commit to envoyproxy/envoy that referenced this pull request Nov 28, 2022
Adds Swift interfaces for responses within Envoy. These should be at parity with the interfaces being added for Kotlin in envoyproxy/envoy-mobile#265.

Replaces envoyproxy/envoy-mobile#261.

Resolves envoyproxy/envoy-mobile#118.
Also resolves envoyproxy/envoy-mobile#247.

Signed-off-by: Michael Rebello <me@michaelrebello.com>
Signed-off-by: JP Simard <jp@jpsim.com>
jpsim pushed a commit to envoyproxy/envoy that referenced this pull request Nov 29, 2022
Adds Swift interfaces for responses within Envoy. These should be at parity with the interfaces being added for Kotlin in envoyproxy/envoy-mobile#265.

Replaces envoyproxy/envoy-mobile#261.

Resolves envoyproxy/envoy-mobile#118.
Also resolves envoyproxy/envoy-mobile#247.

Signed-off-by: Michael Rebello <me@michaelrebello.com>
Signed-off-by: JP Simard <jp@jpsim.com>
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.

4 participants