2012-03-17 10:50:10 +00:00
|
|
|
type
|
|
|
|
|
|
|
|
nsIHttpChannel = interface(nsIChannel)
|
|
|
|
['{9277fe09-f0cc-4cd9-bbce-581dd94b0260}']
|
2012-03-19 14:43:54 +00:00
|
|
|
procedure GetrequestMethod( result_: ACString); safecall;
|
2012-03-17 10:50:10 +00:00
|
|
|
procedure SetrequestMethod(arequestMethod: ACString); safecall;
|
|
|
|
function Getreferrer(): nsIURI; safecall;
|
|
|
|
procedure Setreferrer(areferrer: nsIURI); safecall;
|
|
|
|
property referrer : nsIURI read Getreferrer write Setreferrer;
|
2012-03-19 14:43:54 +00:00
|
|
|
procedure getRequestHeader(aHeader: ACString; result_: ACString); safecall;
|
2012-03-17 10:50:10 +00:00
|
|
|
procedure setRequestHeader(aHeader: ACString; aValue: ACString; aMerge: longbool); safecall;
|
|
|
|
procedure visitRequestHeaders(aVisitor: nsIHttpHeaderVisitor); safecall;
|
|
|
|
function GetallowPipelining(): longbool; safecall;
|
|
|
|
procedure SetallowPipelining(aallowPipelining: longbool); safecall;
|
|
|
|
property allowPipelining : longbool read GetallowPipelining write SetallowPipelining;
|
|
|
|
function GetredirectionLimit(): idlulong; safecall;
|
|
|
|
procedure SetredirectionLimit(aredirectionLimit: idlulong); safecall;
|
|
|
|
property redirectionLimit : idlulong read GetredirectionLimit write SetredirectionLimit;
|
|
|
|
function GetresponseStatus(): idlulong; safecall;
|
|
|
|
property responseStatus : idlulong read GetresponseStatus;
|
2012-03-19 14:43:54 +00:00
|
|
|
procedure GetresponseStatusText( result_: ACString); safecall;
|
2012-03-17 10:50:10 +00:00
|
|
|
function GetrequestSucceeded(): longbool; safecall;
|
|
|
|
property requestSucceeded : longbool read GetrequestSucceeded;
|
2012-03-19 14:43:54 +00:00
|
|
|
procedure getResponseHeader(header: ACString; result_: ACString); safecall;
|
2012-03-17 10:50:10 +00:00
|
|
|
procedure setResponseHeader(header: ACString; value: ACString; merge: longbool); safecall;
|
|
|
|
procedure visitResponseHeaders(aVisitor: nsIHttpHeaderVisitor); safecall;
|
|
|
|
function isNoStoreResponse() : longbool; safecall;
|
|
|
|
function isNoCacheResponse() : longbool; safecall;
|
|
|
|
|
|
|
|
end;
|
|
|
|
|