nsISupports
Last changed in Gecko 1.9.2 (Firefox 3.6 / Thunderbird 3.1 / Fennec 1.0)void explicitSetUploadStream(in nsIInputStream aStream, in ACString aContentType, in long long aContentLength, in ACString aMethod, in boolean aStreamHasHeaders); |
Sets a stream to be uploaded by this channel with the specified Content-Type and Content-Length header values.
Most implementations of this interface require that the stream:
nsIInputStream.readSegments()
nsISeekableStream.seek()
.void explicitSetUploadStream( in nsIInputStream aStream, in ACString aContentType, in long long aContentLength, in ACString aMethod, in boolean aStreamHasHeaders );
aStream
aContentType
aContentLength
available
method.aMethod
aStreamHasHeaders
true
if the stream already contains headers for the HTTP request.