Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

Middle-ware handling of protocol #83

Open
SReject opened this issue Sep 18, 2018 · 0 comments
Open

Middle-ware handling of protocol #83

SReject opened this issue Sep 18, 2018 · 0 comments

Comments

@SReject
Copy link

SReject commented Sep 18, 2018

Certain applications of the library need to be able to touch the underlying protocol handling. Essentially, there should/needs to be hooks exposed to override or apply in series with internal handling of the protocol so that projects that use this library can apply their own custom handling,

Some use-case examples:

Ability to hook auth so we can debug connection issues as well as stop further processing(to prevent anonymous logins)

Ability to hook the ChatMessage handling. For my use, I want to mutate the data received before the event is emitted, as well as correlate messages sent from the client with the events that arise from sending such.

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

No branches or pull requests

1 participant