blob: ef860f7003deeee7e5bdb9f3fd6d9c43930f1793 [file]
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
abstract class RPCResponses {
static const success = <String, Object?>{'type': 'Success'};
static const collectedSentinel = <String, Object?>{
'type': 'Sentinel',
'kind': 'Collected',
'valueAsString': '<collected>',
};
}
// Give connections time to reestablish before considering them closed.
// Required to reestablish connections killed by UberProxy.
const sseKeepAlive = Duration(seconds: 30);