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

[Fizz/Flight] Allow the streaming config to decide how to precompute or compute chunks #21008

Merged
merged 1 commit into from
Mar 15, 2021

Commits on Mar 15, 2021

  1. Allow the streaming config to decide how to precompute or compute chunks

    Some legacy environments can not encode non-strings. Those would specify
    both as strings. They'll throw for binary data.
    
    Some environments have to encode strings (like web streams). Those would
    encode both as uint8array.
    
    Some environments (like Node) can do either. It can be beneficial to leave
    things as strings in case the native stream can do something smart with it.
    sebmarkbage committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    f1b37b2 View commit details
    Browse the repository at this point in the history