method

default_stream_handler

Importance_1
v6.1.3.1 - Show latest stable - 0 notes - Class: Streams
default_stream_handler(broadcasting, coder:) private

May be overridden to change the default stream handling behavior which decodes JSON and transmits to the client.

TODO: Tests demonstrating this.

TODO: Room for optimization. Update transmit API to be coder-aware so we can no-op when pubsub and connection are both JSON-encoded. Then we can skip decode+encode if we’re just proxying messages.

Show source
Register or log in to add new notes.