Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

updata Streaming Responses #819

Open
wants to merge 1 commit into
base: docs/source
Choose a base branch
from

Commits on Apr 22, 2020

  1. updata Streaming Responses

    use 
    final StreamController<String> controller = StreamController<String>.broadcast(); 
    instead of
    final StreamController<String> controller = StreamController<String>();
    
    the error with old code when more than Client connect to /stream
    [SEVERE] aqueduct: Failed to send response, draining request. Reason: Bad state: StreamSink is bound to a stream  
    
    to allow Multi listener to Stream
    binSaed committed Apr 22, 2020
    Configuration menu
    Copy the full SHA
    1b60418 View commit details
    Browse the repository at this point in the history