RecordLayer.flushPendingWrite
TlsProgress flushPendingWrite()Flushes pending write data to the transport.
Call repeatedly until it returns TlsProgress.DONE. Between calls, wait for the transport to become writable.
Returns
Progress indicator for the operation.