Programming in Delphi
|
Top Previous Next |
HTTPAnalyzer Automation Common Library
|
The common library which defines most of the automation interfaces. Both Stand-alone and IE add-on editions need the library.
|
HTTPAnalyzer Stand-alone Automation Library
|
The stand-alone automation library includes the creatable object, IHTTPAnalyzerStandalone, which controls the HTTPAnalyzer Stand-alone out-proc COM server.
|
HTTPAnalyzer IE Add-on Library
|
The IE Add-on automation library includes the creatable object, IHTTPAnalyzerAddon, which controls the HTTPAnalyzer IE Add-on.
|
HTTPAnalyzer Firefox Add-on Library
|
The Firefox Add-on automation library includes the creatable object, IHTTPAnalyzerFirefox, which controls the HTTPAnalyzer Firefox Add-on.
|
var
standalone:CoHTTPAnalyzerStandAlone; //HTTPLogEvents: THTTPAnalyzerILogEvents; entry:ILogEntry; begin standalone := CoHTTPAnalyzerStandAlone.Create; //Wire HTTPAnalyzer Events //HTTPLogEvents := THTTPAnalyzerILogEvents.Create(self); //HTTPLogEvents.OnNewEntry := DoOnNewEntry; //HTTPLogEvents.OnUpdateEntry := DoOnUpdateEntry; standalone.Visible := true; standalone.AttachProcessByID(GetCurrenetProcessID); standalone.Start; ...... standalone.Stop; for i :=0 to standalone.Log.Count-1 do begin entry:=standalone.log[i]; entry.Request;//get request entry.Response;//get response entry.Content;//get reqest content //do something end; end; |
var
ieaddon:THTTPAnalyzerAddon; entry:ILogEntry; begin ieaddon := CoHTTPAnalyzerStandAlone.Create; ieaddon.Start; ...... ieaddon.Stop; for i :=0 to ieaddon.Log.Count-1 do begin entry:=ieaddon.log[i]; entry.Request;//get request entry.Response;//get response entry.Content;//get reqest content. //do something end; end; |
var
ffaddon:CoHttpAnalyzerFirefox; entry:ILogEntry; begin ffaddon := CoHttpAnalyzerFirefox.Create; ffaddon.Start; ...... ffaddon.Stop; for i :=0 to ffaddon.Log.Count-1 do begin entry:=ffaddon.log[i]; entry.Request;//get request entry.Response;//get response entry.Content;//get reqest content. //do something end; end; |