Class HttpAttribute
base http attribute class
Inheritance
HttpAttribute
Inherited Members
Namespace: FastEndpoints
Assembly: FastEndpoints.Attributes.dll
Syntax
[AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
public abstract class HttpAttribute : Attribute
Constructors
HttpAttribute(Http, string)
constructor
Declaration
protected HttpAttribute(Http verb, string route)
Parameters
Type | Name | Description |
---|---|---|
Http | verb | verb |
string | route | route |
HttpAttribute(Http, params string[])
constructor
Declaration
protected HttpAttribute(Http verb, params string[] routes)
Parameters
Type | Name | Description |
---|---|---|
Http | verb | verb |
string[] | routes | routes |