WebsocketRealtimeSessionController class

Inheritance

Constructors

WebsocketRealtimeSessionController({required WebSocketChannel webSocket, List<RealtimeFunctionToolHandler>? initialTools})

Properties

clientEvents → Stream<RealtimeEvent>
no setterinherited
clientEventsController → StreamController<RealtimeEvent>
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serverEvents → Stream<RealtimeEvent>
no setterinherited
serverEventsController → StreamController<RealtimeEvent>
finalinherited
session → RealtimeSession?
no setterinherited
tools → Iterable<RealtimeFunctionToolHandler>
no setterinherited
webSocket → WebSocketChannel
final

Methods

addTools(List<RealtimeFunctionToolHandler> tools) → Future<void>
inherited
dispose() → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeTools(List<RealtimeFunctionToolHandler> tools) → Future<void>
inherited
send(RealtimeEvent event) → void
override
toString() → String
A string representation of this object.
inherited
updateSession(RealtimeSession session) → void
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited