Click or drag to resize
MimeKit

ExperimentalMimeParserOnHeadersBegin Method

Called when the beginning of a list of headers is encountered in the stream.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 3.0.0
Syntax
C#
protected override void OnHeadersBegin(
	long beginOffset,
	int beginLineNumber,
	CancellationToken cancellationToken
)

Parameters

beginOffset
Type: SystemInt64
The offset into the stream where the headers begin.
beginLineNumber
Type: SystemInt32
The line number where the list of headers begin.
cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token.
Remarks

Called when the beginning of a list of headers is encountered in the stream.

This method is always paired with a corresponding call to OnHeadersEnd(Int64, Int32, Int64, Int32, CancellationToken) when the end of the list of headers are found.

See Also