File tree 4 files changed +6
-5
lines changed
4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
- ## 3.0.0-wip
1
+ ## 3.0.0
2
2
3
3
- Require Dart SDK ` 3.7.0 ` .
4
+ - Add support for providing custom message when terminating a connection.
4
5
5
6
## 2.3.1
6
7
Original file line number Diff line number Diff line change @@ -319,8 +319,8 @@ abstract class Connection {
319
319
}
320
320
321
321
/// Terminates this connection forcefully.
322
- Future <void > terminate ([int ? errorCode]) {
323
- return _terminate (errorCode ?? ErrorCode .NO_ERROR );
322
+ Future <void > terminate ([int ? errorCode, String ? message ]) {
323
+ return _terminate (errorCode ?? ErrorCode .NO_ERROR , message : message );
324
324
}
325
325
326
326
void _activeStateHandler (bool isActive) =>
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ abstract class TransportConnection {
74
74
Future finish ();
75
75
76
76
/// Terminates this connection forcefully.
77
- Future terminate ([int ? errorCode]);
77
+ Future terminate ([int ? errorCode, String ? message ]);
78
78
}
79
79
80
80
abstract class ClientTransportConnection extends TransportConnection {
Original file line number Diff line number Diff line change 1
1
name : http2
2
- version : 3.0.0-wip
2
+ version : 3.0.0
3
3
description : A HTTP/2 implementation in Dart.
4
4
repository : https://github.com/dart-lang/http/tree/master/pkgs/http2
5
5
You can’t perform that action at this time.
0 commit comments