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 1
1
import 'dart:typed_data' ;
2
2
3
3
import 'core/rsocket_error.dart' ;
4
- import 'payload.dart' ;
5
- import 'rsocket.dart' ;
6
-
7
4
import 'core/rsocket_requester.dart' ;
8
5
import 'duplex_connection.dart' ;
6
+ import 'payload.dart' ;
7
+ import 'rsocket.dart' ;
9
8
10
9
class RSocketConnector {
11
10
Payload ? payload;
@@ -48,8 +47,8 @@ class RSocketConnector {
48
47
Future <RSocket > connect (String url) async {
49
48
TcpChunkHandler handler = (Uint8List chunk) {};
50
49
var connectionSetupPayload = ConnectionSetupPayload ()
51
- ..keepAliveInterval = keepAliveInterval * 1000
52
- ..keepAliveMaxLifetime = keepAliveMaxLifeTime * 1000
50
+ ..keepAliveInterval = keepAliveInterval
51
+ ..keepAliveMaxLifetime = keepAliveMaxLifeTime
53
52
..metadataMimeType = _metadataMimeType
54
53
..dataMimeType = _dataMimeType
55
54
..data = payload? .data
You can’t perform that action at this time.
0 commit comments