Class MessageHandler

Class MessageHandler

Namespace: Aspose.Html.Net
Assembly: Aspose.HTML.dll (25.2.0)

Represents a base type for message handlers.

[ComVisible(true)]
public abstract class MessageHandler

Inheritance

objectMessageHandler

Derived

FileProtocolMessageHandler, FtpProtocolMessageHandler, HttpProtocolMessageHandler

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

MessageHandler()

Initializes a new instance of the Aspose.Html.Net.MessageHandler class.

protected MessageHandler()

Properties

Filters

Gets the filters list that are corresponding to the specified handler type.

public Collection<messagefilter> Filters { get; }

Property Value

Collection<MessageFilter&gt;

Methods

Invoke(INetworkOperationContext)

When overridden in a derived class is used to implement the message handling.

public abstract void Invoke(INetworkOperationContext context)

Parameters

context INetworkOperationContext

The context.

Next(INetworkOperationContext)

Invokes the next Aspose.Html.Net.MessageHandler in chain of handlers, if any.

protected void Next(INetworkOperationContext context)

Parameters

context INetworkOperationContext

The context.