HttpTransportType class

Specifies a specific HTTP transport type.

Constructors

HttpTransportType(String name, int value)
const
HttpTransportType.fromJSON(String name)
factory

Properties

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

Methods

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

Operators

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

Constants

longPolling → const HttpTransportType
Specifies the Long Polling transport.
none → const HttpTransportType
Specifies no transport preference.
serverSentEvents → const HttpTransportType
Specifies the Server-Sent Events transport.
webSockets → const HttpTransportType
Specifies the WebSockets transport.