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

Implement fetch based transport #549

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Commits on May 1, 2022

  1. Configuration menu
    Copy the full SHA
    26b5dbb View commit details
    Browse the repository at this point in the history
  2. Implemented a hack using eval to call fetch so we can pass the body a…

    …s a Uint8Array to support values larger than 127 which string encoding was messing up.
    Steve Browne committed May 1, 2022
    Configuration menu
    Copy the full SHA
    da178b3 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2022

  1. Created RequestInit js interop type to force body to be a Uint8List a…

    …nd marshal to javascript Uint8Array.
    Steve Browne committed May 2, 2022
    Configuration menu
    Copy the full SHA
    e627db5 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2022

  1. Made some minor changes to better handle when a streaming request is …

    …aborted so that we stop reading gracefully.
    Steve Browne committed May 3, 2022
    Configuration menu
    Copy the full SHA
    32ad527 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2022

  1. Added fetch transport tests which are mostly the same as xhr, but wit…

    …h some minor changes because of the events. Also made some minor tweaks to fetch to have a String response for the tests like xhr.
    Steve Browne committed May 4, 2022
    Configuration menu
    Copy the full SHA
    20dfb82 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2022

  1. Ignore missing_js_lib_annotation. This shows up with dart SDK 2.12, b…

    …ut not with 2.16 which is what I was using during development.
    Steve Browne committed May 5, 2022
    Configuration menu
    Copy the full SHA
    824ef85 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2022

  1. Allow malformed in utf8 decode because the responseText may not alway…

    …s be valid utf8.
    Steve Browne committed May 11, 2022
    Configuration menu
    Copy the full SHA
    5f0e9ed View commit details
    Browse the repository at this point in the history

Commits on May 12, 2022

  1. Configuration menu
    Copy the full SHA
    5fa142b View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2022

  1. Iterate through the javascript iterator manually if the keys are not …

    …an iterable type. This apparently changed with flutter 3.0.
    Steve Browne committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    9384f07 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2022

  1. Use js_util.callMethod rather than calling methods directly on the dy…

    …namic javascript types because the resulting code does not work when building web in release mode.
    Steve Browne committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    5a8818b View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2022

  1. Configuration menu
    Copy the full SHA
    3b409ad View commit details
    Browse the repository at this point in the history