标签:
//添加请求的响应时间public static BindUIColumn("Time Taken")
function CalcTimingCol(oS: Session){
var sResult = String.Empty;
if ((oS.Timers.ServerDoneResponse > oS.Timers.ClientDoneRequest))
{
sResult = (oS.Timers.ServerDoneResponse - oS.Timers.ClientDoneRequest).ToString();
}
return sResult;}
static function Main() {var today: Date = new Date();FiddlerObject.StatusText = " CustomRules.js was loaded at: " + today;// Uncomment to add a "Server" column containing the response "Server" header, if present//增加请求IP监控FiddlerObject.UI.lvSessions.AddBoundColumn("Server IP", 120, "X-HostIP");}
标签:
原文地址:http://www.cnblogs.com/xxyBlogs/p/5672008.html