HttpTransportType class
Specifies a specific HTTP transport type.
Constructors
- HttpTransportType.new(String name, int value)
-
const
- HttpTransportType.fromJSON(String name)
-
factory
Properties
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.