tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

nsIObliviousHttpChannel.idl (1011B)


      1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
      2 /* This Source Code Form is subject to the terms of the Mozilla Public
      3 * License, v. 2.0. If a copy of the MPL was not distributed with this
      4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      5 
      6 #include "nsIHttpChannel.idl"
      7 
      8 /**
      9 * nsIObliviousHttpChannel
     10 *
     11 * This interface allows consumers to differentiate between the
     12 * relayChannel request that transports the OHTTP payload
     13 * and the virtual OHTTP channel represented by the
     14 * nsIObliviousHttpChannel implementation.
     15 */
     16 [builtinclass, scriptable, uuid(f829f761-0744-4d1c-9c2d-8931c22ae8d5)]
     17 interface nsIObliviousHttpChannel: nsIHttpChannel
     18 {
     19  /**
     20   * Returns the channel used to transport the binary serialization
     21   * of the request and response to and from the OHTTP relay.
     22   * This can be useful to determine if an HTTP status code or failure
     23   * is due to the relay or the gateway response.
     24   */
     25  readonly attribute nsIHttpChannel relayChannel;
     26 };