Class SetUserAgentAction
[ActionMetadata("Change the User-AgentThis action is used to change the User-Agent header of the request from a list of built-in user-agent values.")]
public class SetUserAgentAction : Action
- Inheritance
-
SetUserAgentAction
- Inherited Members
Constructors
SetUserAgentAction(string)
public SetUserAgentAction(string name)
Parameters
namestring
Properties
ActionScope
public override FilterScope ActionScope { get; }
Property Value
DefaultDescription
public override string DefaultDescription { get; }
Property Value
Name
public string Name { get; set; }
Property Value
Methods
GetExamples()
public override IEnumerable<ActionExample> GetExamples()
Returns
InternalAlter(ExchangeContext, Exchange?, Connection?, FilterScope, BreakPointManager)
public override ValueTask InternalAlter(ExchangeContext context, Exchange? exchange, Connection? connection, FilterScope scope, BreakPointManager breakPointManager)
Parameters
contextExchangeContextexchangeExchangeconnectionConnectionscopeFilterScopebreakPointManagerBreakPointManager