跳到主要内容

record_request_api

记录请求api的统计信息

声明

void record_request_api(string method, string name, int response_time, mixed exception = nil, int content_length = 0)

参数

参数名描述
method请求类型
name名字
response_time响应时间(单位:毫秒)
exception上报异常信息
content_length请求内容长度

返回值

使用方式

返回文档