JsonHubProtocol class

Implemented types

Constructors

JsonHubProtocol()

Properties

name → String
The name of the protocol. This is used by SignalR to resolve the protocol between the client and server.
read-only, override
transferFormat TransferFormat
The TransferFormat of the protocol.
read-only, override
version → int
The version of the protocol.
read-only, override
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

parseMessages(Object input, Logger logger) → List<HubMessageBase>
Creates an array of {@link @aspnet/signalr.HubMessage} objects from the specified serialized representation. [...]
override
writeMessage(HubMessageBase message) → String
Writes the specified HubMessage to a string and returns it. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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

Static Methods

createMessageHeadersFromJson(Map<String, dynamic> jsonData) MessageHeaders