LongPollingTransport class
- Implemented types
Constructors
- LongPollingTransport(SignalRHttpClient httpClient, AccessTokenFactory? accessTokenFactory, Logger? logger, bool logMessageContent)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onClose ↔ OnClose?
-
getter/setter pairoverride
- onReceive ↔ OnReceive?
-
getter/setter pairoverride
- pollAborted → bool?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connect(
String? url, TransferFormat transferFormat) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
poll(
String? url, SignalRHttpRequest pollOptions) → Future< void> -
send(
Object data) → Future< void> -
data: the content. Either a string (json) or Uint8List (binary)
override
-
stop(
) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited