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

support localized message handling for bi-directional streams #1

Open
0x6a77 opened this issue Jan 20, 2020 · 0 comments
Open

support localized message handling for bi-directional streams #1

0x6a77 opened this issue Jan 20, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@0x6a77
Copy link
Member

0x6a77 commented Jan 20, 2020

for bi-directional streaming support a localized way to handle handle on-message. e.g. a reactjs component may want to send a command over a (validated/logged-in) stream and get a response to that command.

@0x6a77 0x6a77 added the enhancement New feature or request label Jan 20, 2020
@0x6a77 0x6a77 self-assigned this Jan 20, 2020
0x6a77 added a commit that referenced this issue Jan 20, 2020
implements sendWithCallback so that a local function can handle a
message sent over a bi-directional stream. also, expose onError to the
client (rather than hard-end the websocket) to give the client better
control over how to handle errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant