signalr_core/src/utils library

Constants

version → const String

Functions

formatByteBuffer(ByteBuffer data) String
getDataDetail(dynamic data, bool? includeContent) String
getOsName() String
getRuntime() String
getRuntimeVersion() String
getUserAgentHeader() → (String, String)
sendMessage(Logging? log, String transportName, BaseClient? client, String? url, AccessTokenFactory? accessTokenFactory, dynamic content, bool? logMessageContent, bool? withCredentials) Future<void>

Typedefs

AccessTokenFactory = Future<String?> Function()
Logging = void Function(LogLevel level, String message)
OnClose = void Function(Exception? error)
OnReceive = void Function(dynamic data)