Class AddResponseHeaderAction
Append a response header. Note Headers that alter the connection behaviour will be ignored.
[ActionMetadata("Append a response header. H2 pseudo header will be ignored.")]
public class AddResponseHeaderAction : Action
- Inheritance
-
AddResponseHeaderAction
- Inherited Members
Constructors
AddResponseHeaderAction(string, string)
public AddResponseHeaderAction(string headerName, string headerValue)
Parameters
Properties
ActionScope
public override FilterScope ActionScope { get; }
Property Value
DefaultDescription
public override string DefaultDescription { get; }
Property Value
HeaderName
Header name
public string HeaderName { get; set; }
Property Value
HeaderValue
Header value
public string HeaderValue { 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
context
ExchangeContextexchange
Exchangeconnection
Connectionscope
FilterScopebreakPointManager
BreakPointManager