Skip to content

Add System.Net.ServerSentEvents#102238

Merged
stephentoub merged 3 commits into
dotnet:mainfrom
stephentoub:sseparser
May 31, 2024
Merged

Add System.Net.ServerSentEvents#102238
stephentoub merged 3 commits into
dotnet:mainfrom
stephentoub:sseparser

Conversation

@stephentoub

Copy link
Copy Markdown
Member

@ghost ghost added needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners new-api-needs-documentation labels May 15, 2024
@ghost

ghost commented May 15, 2024

Copy link
Copy Markdown

Note regarding the new-api-needs-documentation label:

This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change.

Comment thread src/libraries/System.Formats.Sse/src/System/Formats/Sse/SseEnumerable.cs Outdated
@stephentoub stephentoub added area-System.IO blocking Marks issues that we want to fast track in order to unblock other important work and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners blocking Marks issues that we want to fast track in order to unblock other important work labels May 19, 2024
@stephentoub stephentoub changed the title Add System.Formats.Sse Add System.Net.ServerSentEvents May 29, 2024
@stephentoub stephentoub marked this pull request as ready for review May 29, 2024 01:35
@stephentoub stephentoub added this to the 9.0.0 milestone May 29, 2024
@stephentoub

Copy link
Copy Markdown
Member Author

@MihaZupan, would you be able to help with a code review here?

@MihaZupan MihaZupan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The buffer offsets are a bit hard to follow so I'd consider using ArrayBuffer.

Otherwise LGTM

Comment thread src/libraries/System.Net.ServerSentEvents/src/PACKAGE.md Outdated
Comment thread src/libraries/System.Net.ServerSentEvents/src/Resources/Strings.resx Outdated
Comment thread src/libraries/System.Net.ServerSentEvents/src/PACKAGE.md Outdated
@stephentoub

Copy link
Copy Markdown
Member Author

Thanks for the review, @MihaZupan.

@github-actions github-actions Bot locked and limited conversation to collaborators Jul 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[API Proposal]: Support parsing server-sent events (SSE)

3 participants