-
Notifications
You must be signed in to change notification settings - Fork 1.7k
#941 Added SseDelegatingHandler #2300
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
base: develop
Are you sure you want to change the base?
Conversation
@raman-m Please review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be fair, this is a draft version of the feature. This handler has not yet been integrated into Ocelot's pipeline. We need to ensure the feature is functional by writing acceptance tests that make real HTTP requests to an Ocelot instance.
Could you continue working on this pull request?
Rest assured, we will guide and support you throughout the development process.
|
||
namespace Ocelot.Requester | ||
{ | ||
public class SseDelegatingHandler : DelegatingHandler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This handler has been designed, but it hasn't been integrated into Ocelot's pipeline yet.
public class SseDelegatingHandlerTests | ||
{ | ||
[Fact] | ||
public async Task SendAsync_ForNonSseRequest_CallsBaseHandler() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having a single unit test is just the first step in comprehensive testing.
@vijay-karavadra commented on July 14, 2025
No problem! The code review has been completed! |
Sure @raman-m . |
Closes #941
Proposed Changes
SseDelegatingHandler
to handle SSE event stream requests