File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 11import 'dart:typed_data' ;
22
33import 'core/rsocket_error.dart' ;
4- import 'payload.dart' ;
5- import 'rsocket.dart' ;
6-
74import 'core/rsocket_requester.dart' ;
85import 'duplex_connection.dart' ;
6+ import 'payload.dart' ;
7+ import 'rsocket.dart' ;
98
109class RSocketConnector {
1110 Payload ? payload;
@@ -48,8 +47,8 @@ class RSocketConnector {
4847 Future <RSocket > connect (String url) async {
4948 TcpChunkHandler handler = (Uint8List chunk) {};
5049 var connectionSetupPayload = ConnectionSetupPayload ()
51- ..keepAliveInterval = keepAliveInterval * 1000
52- ..keepAliveMaxLifetime = keepAliveMaxLifeTime * 1000
50+ ..keepAliveInterval = keepAliveInterval
51+ ..keepAliveMaxLifetime = keepAliveMaxLifeTime
5352 ..metadataMimeType = _metadataMimeType
5453 ..dataMimeType = _dataMimeType
5554 ..data = payload? .data
You can’t perform that action at this time.
0 commit comments