예제 #1
0
 internal GeckoResponse(nsIRequest request)
 {
     Channel = Xpcom.QueryInterface<nsIChannel>(request);
     HttpChannel = Xpcom.QueryInterface<nsIHttpChannel>(request);
 }
예제 #2
0
 public static HttpChannel Create(nsIHttpChannel httpChannel)
 {
     return(new HttpChannel(httpChannel));
 }
        public GeckoJavaScriptHttpChannelWrapper(GeckoWebBrowser p_browser, nsIHttpChannel p_httpChannel, nsIDOMEventListener p_origEventListener)
        {
            m_browser = p_browser;
            m_httpChannel = p_httpChannel;
            m_origEventListener = p_origEventListener;

            m_notificationCallsbacks = Xpcom.QueryInterface<nsIXMLHttpRequest>(m_httpChannel.GetNotificationCallbacksAttribute());
        }
예제 #4
0
 public HttpChannel(nsIHttpChannel httpChannel)
     : base(httpChannel)
 {
     _httpChannel = httpChannel;
 }
 internal HttpChannel(nsIHttpChannel httpChannel)
     : base(httpChannel)
 {
     _httpChannel = httpChannel;
 }
 public static HttpChannel Create(nsIHttpChannel httpChannel)
 {
     return new HttpChannel( httpChannel );
 }
예제 #7
0
 internal HttpChannel(nsIHttpChannel httpChannel)
     : base(httpChannel)
 {
     _httpChannel = httpChannel;
 }
예제 #8
0
 private HttpChannel(nsIHttpChannel httpChannel)
     : base(httpChannel)
 {
     _httpChannel = httpChannel;
 }