IWebApiMappingMatch 方法
根据指定的 URL 和 HTTP 方法匹配 RPC 方法。
命名空间: TouchSocket.WebApi程序集: TouchSocket.WebApi (在 TouchSocket.WebApi.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
RpcMethod Match(
string url,
HttpMethod httpMethod
)
Function Match (
url As String,
httpMethod As HttpMethod
) As RpcMethod
abstract Match :
url : string *
httpMethod : HttpMethod -> RpcMethod
- url String
- 要匹配的 URL。
- httpMethod HttpMethod
- 要匹配的 HTTP 方法。
RpcMethod匹配的 RPC 方法。