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

IWebApiMapping 接口

Web API 映射接口。

Definition

命名空间: TouchSocket.WebApi
程序集: TouchSocket.WebApi (在 TouchSocket.WebApi.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
C#
public interface IWebApiMapping : IEnumerable<MappingMethod>, 
	IEnumerable
Implements
IEnumerableMappingMethod, IEnumerable

方法

GetEnumeratorReturns an enumerator that iterates through the collection.
(继承自 IEnumerableMappingMethod。)
MakeReadonly 将映射设置为只读。
Match 根据指定的 URL 和 HTTP 方法匹配 RPC 方法。

扩展方法

ForEachMappingMethod 循环遍历每个元素,执行Action动作
(由 CollectionsExtension 定义。)
ForEachAsyncMappingMethod 循环遍历每个元素,执行异步动作
(由 CollectionsExtension 定义。)
GetSafeEnumeratorMappingMethod 获取安全的枚举器。
(由 SystemExtension 定义。)

参见