dart-lang / http2

A HTTP/2 implementation for dart.

Home Page:https://pub.dev/packages/http2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Release new version with ditched dart:io

kengu opened this issue · comments

Hi @natebosch!

Could you release a new version of http2 without dart:io (commit)? It marks all packages depending on not supporting the js platform. More specifically, any package depending on grpc-dart.

Ah I should have pushed further on before.

I don't think publishing now is likely to be helpful. The dart:io import still exists.

#95 (comment)

import 'dart:io';

If you add a git dependency on this package does it work for your use case?

I think for a fully cross platform version we'd have to pull the viaSocket factory constructors into a different library which would be a breaking change, so we'd need to check how feasible it is to roll out.