WebsocketClient class

A client to connect to the coinbase exchange websocket feed.

Constructors

WebsocketClient({bool sandbox = false})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sandbox bool
final

Methods

close() Future<void>
Close a connection to a channel.
connect() → void
Connect to a channel.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
subscribe({List<ChannelEnum>? channels, List<String>? productIds, Map<ChannelEnum, List<String>?>? channelProductIdMap}) Stream<WebsocketResponse>
Subscribe to specific channels.
toString() String
A string representation of this object.
inherited
unSubscribe({List<ChannelEnum>? channels, List<String>? productIds, Map<ChannelEnum, List<String>?>? channelProductIdMap}) Stream<WebsocketResponse>
Unsubscribe to specific channels

Operators

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