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

Message parser fix #7

Merged
merged 8 commits into from
Feb 3, 2024
Merged

Message parser fix #7

merged 8 commits into from
Feb 3, 2024

Conversation

Recouse
Copy link
Owner

@Recouse Recouse commented Jan 26, 2024

Fixed #1.

Now when parser receives a string without colon, it will add the whole string as a field name and empty string as a content to the other property of the ServerMessage. other is a dictionary of type [String: String]. This change makes the message parser more compliant with SSE specifications.

@Recouse Recouse marked this pull request as ready for review January 26, 2024 11:19
@Recouse Recouse force-pushed the message-parser-fix branch from e3f52b3 to d1444b0 Compare January 30, 2024 12:27
@Recouse Recouse merged commit a2fffb0 into main Feb 3, 2024
2 checks passed
@Recouse Recouse deleted the message-parser-fix branch February 10, 2024 22:04
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.

Index out of range when parse data
1 participant