一款简单易用的基础网络通讯组件库。

RouteMatchResultMethodNotAllowed 方法

创建方法不允许的结果

Definition

命名空间: TouchSocket.WebApi
程序集: TouchSocket.WebApi (在 TouchSocket.WebApi.dll 中) 版本:4.1.4.7+7f7e1f78093c99347956e09330d5d7aca1d2bdf2
C#
public static RouteMatchResult MethodNotAllowed(
	IEnumerable<HttpMethod> allowedMethods
)

参数

allowedMethods  IEnumerableHttpMethod

[缺少 "M:TouchSocket.WebApi.RouteMatchResult.MethodNotAllowed(System.Collections.Generic.IEnumerable{TouchSocket.Http.HttpMethod})" 的 <param name="allowedMethods"/> 文档]

返回值

RouteMatchResult

[缺少 "M:TouchSocket.WebApi.RouteMatchResult.MethodNotAllowed(System.Collections.Generic.IEnumerable{TouchSocket.Http.HttpMethod})" 的 <returns> 文档]

参见