Interface DuplexTransport

Represents a bidirectional transport.

interface DuplexTransport
  : ReadTransport
  , WriteTransport ;

Properties

NameTypeDescription
protocol[get] Protocol
protocol[set] ProtocolSwitches the protocol.

Methods

NameDescription
close () Close the transport.
isClosing () Returns true if the transport is closing or closed.
write (data) Write some data to the transport.