ABBWebApiServer 属性 |
ABBWebApiServer 类型公开以下成员。
名称 | 说明 | |
---|---|---|
ApiCalledAction |
获取或设置当前接口调用信息处理的委托,可以用于对接口调用的二次分析,在接口调用完成的时候,将触发本委托 (继承自 HttpServer。)Obtain or set the delegate for the current interface call information processing, which can be used for secondary analysis of the interface call, and the delegate will be triggered when the interface call is completed | |
DealWithHttpListenerRequest |
额外的处理请求信息的委托定义,将可以自定义处理一些特殊的请求头数据,例如一些账户相关的其他属性,语言属性等等。 (继承自 HttpServer。)Additional delegate definitions for processing request information will be able to customize some special request header data, such as some other account-related attributes, language attributes, and so on. | |
HandleFileUpload |
获取或设置当前的自定义处理文件上传的信息,自动解析好文件的基本信息 (继承自 HttpServer。)Obtain or set the current custom processing file upload information, and automatically parse the basic information of the file | |
HandleRequestFunc |
获取或设置当前的自定义的处理信息,如果不想继承实现方法,可以使用本属性来关联你自定义的方法。 (继承自 HttpServer。)Get or set the current custom processing information. If you don't want to inherit the implementation method, you can use this attribute to associate your custom method. | |
IsCrossDomain |
获取或设置是否支持跨域操作 (继承自 HttpServer。)Get or set whether to support cross-domain operations | |
LogNet |
组件的日志工具,支持日志记录,只要实例化后,当前网络的基本信息,就以DEBUG等级进行输出 (继承自 HttpServer。)The component's logging tool supports logging. As long as the instantiation of the basic network information, the output will be output at DEBUG | |
LogStatistics |
获取当前的日志统计信息,可以获取到每个API的每天的调度次数信息,缓存60天数据,如果需要存储本地,需要调用SaveToFile(String)方法。 (继承自 HttpServer。)Get the current log statistics, you can get the daily scheduling times information of each API, and cache 60-day data. If you need to store it locally, you need to call the SaveToFile(String) method. | |
Port |
获取当前的端口号信息 (继承自 HttpServer。)Get current port number information | |
ServerEncoding |
获取或设置当前服务器的编码信息,默认为UTF8编码 (继承自 HttpServer。)Get or set the encoding information of the current server, the default is UTF8 encoding |