NativeDtlsEngine.flush

TlsProgress flush() @safe

Flush any pending outgoing data.

Attempts to send any buffered data through the transport.

Returns

TlsProgress indicating the flush status:
  • DONE when all data has been sent
  • NEED_WRITE when more writes are needed
  • ERROR on failure