Class MethodAttribute
- Namespace
- nanoFramework.WebServer
- Assembly
- nanoFramework.WebServer.dll
The HTTP Method.
[AttributeUsage(AttributeTargets.Method)]
public class MethodAttribute : Attribute
- Inheritance
-
MethodAttribute
- Inherited Members
- Extension Methods
Remarks
No validation is performed if the HTTP method is a valid one. For details on how to use, see: https://github.com/nanoframework/nanoFramework.WebServer#usage
Constructors
MethodAttribute(string)
Creates a method attribute.
public MethodAttribute(string method)
Parameters
method
stringThe method.
Properties
Method
Gets the method.
public string Method { get; }