 | HeaderListWriteToAsync(FormatOptions, Stream, CancellationToken) Method |
Asynchronously write the
HeaderList to the specified output stream.
Namespace: MimeKitAssembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntaxpublic Task WriteToAsync(
FormatOptions options,
Stream stream,
CancellationToken cancellationToken = default
)
Parameters
- options FormatOptions
- The formatting options.
- 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 the headers to the output stream.
See Also