SSHTunneledWebSocketImpl class
The initial SSHTunneledSocketImpl (which implements same SocketInteface
as SSHTunneledWebSocketImpl), is bridged via SSHTunneledSocket
adaptor
to initialize io.WebSocket.fromUpgradedSocket().
- Inheritance
-
- Object
- ConnectionInterface?
- SocketInterface?
- WebSocketImpl?
- SSHTunneledWebSocketImpl
Constructors
- SSHTunneledWebSocketImpl(SSHTunneledSocketImpl? inputSocket)
Properties
- connected → bool?
-
no setterinherited
- connecting ↔ bool?
-
getter/setter pairinherited
- debugPrint → StringCallback?
-
final
- doneHandler ↔ StringCallback?
-
getter/setter pairinherited
- errorHandler ↔ StringCallback?
-
getter/setter pairinherited
- hashCode → int?
-
The hash code for this object.
no setterinherited
- messageHandler ↔ Uint8ListCallback?
-
getter/setter pairinherited
- messageSubscription ↔ StreamSubscription?
-
getter/setter pairinherited
- runtimeType → Type?
-
A representation of the runtime type of the object.
no setterinherited
- socket ↔ WebSocket?
-
getter/setter pairinherited
- sourceHost → String?
-
final
- sourcePort → int?
-
final
- tunneledSocket ↔ SocketInterface?
-
getter/setter pair
- tunnelToHost → String?
-
final
- tunnelToPort → int?
-
final
Methods
-
close(
) → void -
Closed the connection.
inherited
-
connect(
Uri? uri, VoidCallback? onConnected, StringCallback? onError, {int? timeoutSeconds = 15, bool? ignoreBadCert = false}) → void -
Connects the socket to
uri
then invokesonConnected
oronError
.override -
connectSucceeded(
VoidCallback? onConnected) → void -
inherited
-
handleDone(
StringCallback? newDoneHandler) → void -
Involes handleDone if the connection is closed normally.
inherited
-
handleError(
StringCallback? newErrorHandler) → void -
Invokes
errorHandler
if a connection error occurs.inherited -
listen(
Uint8ListCallback? newMessageHandler) → void -
Invokes
messageHandler
upon reading input from the connection.inherited -
noSuchMethod(
Invocation? invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
String? text) → void -
Sends
text
over the socket.inherited -
sendRaw(
Uint8List? raw) → void -
Sends
raw
over the socket.inherited -
shutdown(
ConnectionDirection? direction) → void -
inherited
-
toString(
) → String? -
A string representation of this object.
inherited
Operators
-
operator ==(
Object? other) → bool? -
The equality operator.
inherited