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

IWebApiMappingMatch 方法

根据指定的 URL 和 HTTP 方法匹配 RPC 方法。

Definition

命名空间: TouchSocket.WebApi
程序集: TouchSocket.WebApi (在 TouchSocket.WebApi.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
C#
RpcMethod Match(
	string url,
	HttpMethod httpMethod
)

参数

url  String
要匹配的 URL。
httpMethod  HttpMethod
要匹配的 HTTP 方法。

返回值

RpcMethod
匹配的 RPC 方法。

参见