SOCKSSocket class
Constructors
-
SOCKSSocket(RawSocket socket, {List<
AuthMethods> auth = const [AuthMethods.NoAuth], String? username, String? password})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- password → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → SOCKSState
-
no setter
-
stateStream
→ Stream<
SOCKSState> -
no setter
-
subscription
→ StreamSubscription<
RawSocketEvent> -
no setter
- username → String?
-
For username:password auth
final
Methods
-
close(
{bool keepOpen = true}) → Future< void> -
connect(
String domain) → Future< void> - Issue connect command to proxy
-
connectIp(
InternetAddress ip, int port) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
Object? object) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited