| HeaderListWriteToAsync(Stream, CancellationToken) Method |
Asynchronously write the
HeaderList to the specified output stream.
Namespace: MimeKitAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax public Task WriteToAsync(
Stream stream,
CancellationToken cancellationToken = default
)
Parameters
- stream Stream
- The output stream.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskA task that represents the asynchronous write operation.
Exceptions Remarks
Writes all of the headers to the output stream.
See Also