closeTransport method
void
closeTransport(
- dynamic discard
Closes the underlying transport.
Implementation
void closeTransport(discard) {
if (discard == true) transport.discard();
transport.close(() => onClose('forced close'));
}