Click or drag to resize
MimeKit

ExperimentalMimeParserOnHeaderRead Method

Called when a message or MIME part header is read from the stream.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
protected override void OnHeaderRead(
	Header header,
	int beginLineNumber,
	CancellationToken cancellationToken
)

Parameters

header  Header
The header that was read from the stream.
beginLineNumber  Int32
The line number where the header exists within the stream.
cancellationToken  CancellationToken
The cancellation token.
Remarks
This method will be called whenever a message or MIME part header is encountered within the stream.
See Also