ProxyProtocol enum

Protocol used by a proxy

Inheritance
Available extensions

Values

http → const ProxyProtocol

HTTP proxy

https → const ProxyProtocol

HTTPS proxy

socks4 → const ProxyProtocol

SOCKS4 proxy

socks5 → const ProxyProtocol

SOCKS5 proxy

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
isHttp bool

Available on ProxyProtocol, provided by the ProxyProtocolExtension extension

Returns true if this is an HTTP protocol
no setter
isSocks bool

Available on ProxyProtocol, provided by the ProxyProtocolExtension extension

Returns true if this is a SOCKS protocol
no setter
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
name String

Available on ProxyProtocol, provided by the ProxyProtocolExtension extension

Returns the string representation of the protocol
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
socksVersion int?

Available on ProxyProtocol, provided by the ProxyProtocolExtension extension

Returns the SOCKS version if this is a SOCKS protocol
no setter

Methods

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

Operators

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

Constants

values → const List<ProxyProtocol>
A constant List of the values in this enum, in order of their declaration.