mirror of https://github.com/grpc/grpc-dart.git
Use package:web to get HttpStatus
This commit is contained in:
parent
6676c20df2
commit
1f40f71013
|
@ -13,4 +13,4 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
export 'io_bits_io.dart' if (dart.library.html) 'io_bits_web.dart';
|
||||
export 'io_bits_io.dart' if (dart.library.js_interop) 'io_bits_web.dart';
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
export 'dart:html' show HttpStatus;
|
||||
export 'package:web/web.dart' show HttpStatus;
|
||||
|
||||
/// Unavailable on the web
|
||||
class InternetAddress {}
|
||||
|
|
|
@ -17,6 +17,7 @@ dependencies:
|
|||
http2: ^2.2.0
|
||||
protobuf: '>=2.0.0 <4.0.0'
|
||||
clock: ^1.1.1
|
||||
web: ^1.1.0
|
||||
|
||||
dev_dependencies:
|
||||
build_runner: ^2.0.0
|
||||
|
|
Loading…
Reference in New Issue