SseConnectionError class final

Reported on the event stream when a connection fails for a reason other than an HTTP error status. Examples are a timeout, a transport failure, a wrong content type, and a stream that the server ends.

Only a client made with autoReconnect: false reports this error.

Implemented types

Constructors

SseConnectionError(String message)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → String
A fixed description of the failure. It never contains the request URL, so it is safe to log.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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