Interface DuplexTransport
Represents a bidirectional transport.
Properties
Name | Type | Description |
---|---|---|
protocol [get]
|
Protocol | |
protocol [set]
|
Protocol | Switches the protocol. |
Methods
Name | Description |
---|---|
close
()
|
Close the transport. |
isClosing
()
|
Returns true if the transport is closing or closed. |
write
(data)
|
Write some data to the transport. |