nsISuspendableChannelWrapper.idl (793B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 #include "nsIChannel.idl" 6 7 /** 8 * An nsISuspendableChannelWrapper is an nsIChannel that will forward calls to 9 * an inner channel (passed in at initialization), but allows suspend() and 10 * resume() to be called before asyncOpen() is called. If the 11 * nsISuspendableChannelWrapper is fully resumed after asyncOpen() is called, 12 * the wrapped channel will have asyncOpen() called on it. 13 * 14 * An nsISuspendableChannelWrapper cannot be opened synchronously. 15 */ 16 [scriptable, builtinclass, uuid(317c1a44-2a66-4a30-9769-5e8489a64859)] 17 interface nsISuspendableChannelWrapper : nsIChannel 18 { 19 };