Class HttpAttribute
Base class for the HTTP related attributes below.
Inheritance
HttpAttribute
Namespace: Neon.ModelGen
Assembly: Neon.Common.dll
Syntax
[AttributeUsage(AttributeTargets.Method)]
public abstract class HttpAttribute : Attribute
Properties
HttpMethod
Returns the HTTP method.
Declaration
public string HttpMethod { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Optionally overrides the tagged service endpoint method name when generating the client code.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Order
NOT SUPPORTED: The order in which the route is to be applied.
Declaration
public int Order { get; set; }
Property Value
Type | Description |
---|---|
int |
Template
The route template.
Declaration
public string Template { get; set; }
Property Value
Type | Description |
---|---|
string |