Class BaseRouteAttribute
Decorate methods within controllers with this attribute in order to make them callable from the Web API Module Method Must match the WebServerModule.
Inherited Members
Namespace: EmbedIO.Routing
Syntax
public class BaseRouteAttribute : RouteAttribute
Constructors
BaseRouteAttribute(HttpVerb, String)
Initializes a new instance of the BaseRouteAttribute class.
Declaration
public BaseRouteAttribute(HttpVerb verb, string route)
Parameters
Type | Name | Description |
---|---|---|
HttpVerb | verb | The verb. |
String | route | The route. |