Class ProtocolMessageFilter
Namespace: Aspose.Html.Net.MessageFilters
Assembly: Aspose.HTML.dll (25.4.0)
Represents implementation of message filter by the resource protocol.
[ComVisible(true)]
public class ProtocolMessageFilter : MessageFilter
Inheritance
object ← MessageFilter ← ProtocolMessageFilter
Inherited Members
MessageFilter.Match(INetworkOperationContext) , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
ProtocolMessageFilter(params string[])
Initializes a new instance of the Aspose.Html.Net.MessageFilters.ProtocolMessageFilter class.
public ProtocolMessageFilter(params string[] protocols)
Parameters
protocols
string
[]
The protocols.
Methods
Match(INetworkOperationContext)
When overridden in a derived class, tests whether a Context satisfies the filter criteria.
public override bool Match(INetworkOperationContext context)
Parameters
context
INetworkOperationContext
The context.
Returns
true if the Context object satisfies the filter criteria; otherwise, false.