Skip to content

interface IEndpointHandler

cangjie
public interface IEndpointHandler

功能:定义端点处理器接口。

成员概览

成员功能
func handle(HttpContext)处理当前请求并返回端点结果。

func handle(HttpContext)

cangjie
func handle(context: HttpContext): IEndpointResult

功能:处理当前请求并返回端点结果。

参数:

返回值: