Class HttpPutAttribute
use this attribute to specify a PUT route for an endpoint
Inherited Members
Namespace: FastEndpoints
Assembly: FastEndpoints.Attributes.dll
Syntax
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public sealed class HttpPutAttribute : HttpAttribute
Constructors
HttpPutAttribute(params string[])
use this attribute to specify a PUT route for an endpoint
Declaration
public HttpPutAttribute(params string[] routes)
Parameters
Type | Name | Description |
---|---|---|
string[] | routes | the routes for the endpoint |