|
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.
|
|
var
standalone:THTTPAnalyzerStandAlone; entry:ILogEntry; begin standalone := THTTPAnalyzerStandAlone.Create(nil); try 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; finally standalone.free; end; end; |
|
var
addon:THTTPAnalyzerAddon; entry:ILogEntry; begin addon := THTTPAnalyzerAddon.Create(nil); try addon.Start; ...... addon.Stop; for i :=0 to addon.Log.Count-1 do begin entry:=addon.log[i]; entry.Request;//get request entry.Response;//get response entry.Content;//get reqest content. //do something end; finally addon.free; end; end; |