DioH2NotSupportedException class
The exception when a connected socket for the uri does not support HTTP/2.
- Inheritance
-
- Object
- SocketException
- DioH2NotSupportedException
Constructors
- DioH2NotSupportedException(Uri uri, String? selectedProtocol)
-
const
Properties
- address → InternetAddress?
-
The address of the socket giving rise to the exception.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Description of the error.
finalinherited
- osError → OSError?
-
The underlying OS error.
finalinherited
- port → int?
-
The port of the socket giving rise to the exception.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedProtocol → String?
-
final
- uri → Uri
-
final
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