Class HttpHeadAttribute
Specifies that an action supports the HEAD HTTP method.
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class HttpHeadAttribute : Attribute, IActionHttpMethodProvider
- Inheritance
-
HttpHeadAttribute
- Implements
- Inherited Members
Constructors
HttpHeadAttribute()
Initializes a new instance of the HttpHeadAttribute class.
public HttpHeadAttribute()
Properties
HttpMethods
Gets the http methods that correspond to this attribute.
public Collection<HttpMethod> HttpMethods { get; }
Property Value
- Collection<HttpMethod>
The http methods that correspond to this attribute.