I am doing some development on the firefox both with javascript and C++ for some XPCOM components.
I am trying to monitor the http activity with nsIHttpActivityDistributor
.
The problem now is , is there any flag
or id
that belong to nsIHttpChannel
that I can use to identify a unique nsHttpChannel
object?
I want to save some nsIHttpChannel
referred objects in C++ and then process later in Javascript or C++. The thing is that currently I cannot find a elegent way to identify a channel object that can used both in js and C++, which is used to log it clearly into a log file.
Any idea?