8000 Question: How to (best) implement a delimited StringChannel · Issue #18 · clariuslabs/reactivesockets · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Oct 28, 2022. It is now read-only.

Question: How to (best) implement a delimited StringChannel #18

Open
RobThree opened this issue Jan 14, 2014 · 0 comments
Open

Question: How to (best) implement a delimited StringChannel #18

RobThree opened this issue Jan 14, 2014 · 0 comments

Comments

@RobThree
Copy link

Your sample implements a 'fixed length' StringChannel (i.e. the 'header' contains the body length). Could you please show how to implement a StringChannel that handles messages that are delimited by \r\n of || for example (where the delimiter could be anything, but that would be easily implemented by passing it in the ctor)?

I have tried to implement the solution provided here but can't get it to work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0