TTransport.flush

Flushes any pending data to be written.

Must be called before destruction to ensure writes are actually complete, otherwise pending data may be discarded. Typically used with buffered transport mechanisms.

interface TTransport
void
flush
()

Throws

TTransportException if an error occurs.

Meta