Update for websocket 2.0.0-alpha.5
This commit is contained in:
parent
4ce645eabb
commit
bfaa97afdf
3 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,6 @@
|
|||
# 2.0.2
|
||||
* Fixed for compatibility with `package:angel_websocket@^2.0.0-alpha.5`.
|
||||
|
||||
# 2.0.1
|
||||
* Add import of `package:angel_framework/http.dart`
|
||||
* https://github.com/angel-dart/hot/pull/7
|
||||
|
|
|
@ -304,7 +304,7 @@ class HotReloader {
|
|||
|
||||
for (var client in ws.clients) {
|
||||
try {
|
||||
await client.close(WebSocketStatus.goingAway);
|
||||
await client.close();
|
||||
} catch (e) {
|
||||
stderr.writeln(
|
||||
'Couldn\'t close WebSocket from session #${client.request.session.id}: $e');
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: angel_hot
|
||||
description: Supports hot reloading/hot code push of Angel servers on file changes.
|
||||
version: 2.0.1
|
||||
version: 2.0.2
|
||||
author: Tobe O <thosakwe@gmail.com>
|
||||
homepage: https://github.com/angel-dart/hot
|
||||
environment:
|
||||
|
|
Loading…
Reference in a new issue