Table of Contents

Class RoutePostAttribute

Namespace
Sisk.Core.Routing
Assembly
Sisk.Core.dll

Represents a mapping to an HTTP POST route. This attribute is an shorthand from RouteAttribute.

[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
public sealed class RoutePostAttribute : RouteAttribute
Inheritance
RoutePostAttribute
Inherited Members

Constructors

RoutePostAttribute()

Creates an new RoutePostAttribute attribute instance with an root path (/).

RoutePostAttribute(string)

Creates an new RoutePostAttribute attribute instance with given path.