File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 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
22
33- Require Dart SDK ` 3.7.0 ` .
4+ - Add support for providing custom message when terminating a connection.
45
56## 2.3.1
67
Original file line number Diff line number Diff line change @@ -319,8 +319,8 @@ abstract class Connection {
319319 }
320320
321321 /// 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 );
324324 }
325325
326326 void _activeStateHandler (bool isActive) =>
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ abstract class TransportConnection {
7474 Future finish ();
7575
7676 /// Terminates this connection forcefully.
77- Future terminate ([int ? errorCode]);
77+ Future terminate ([int ? errorCode, String ? message ]);
7878}
7979
8080abstract class ClientTransportConnection extends TransportConnection {
Original file line number Diff line number Diff line change 11name : http2
2- version : 3.0.0-wip
2+ version : 3.0.0
33description : A HTTP/2 implementation in Dart.
44repository : https://github.com/dart-lang/http/tree/master/pkgs/http2
55
You can’t perform that action at this time.
0 commit comments