Esempio n. 1
0
		public void ExplicitSetUploadStream(
			InputStream stream,
			string contentType, int len, string method, bool streamHasHeaders )
		{
			using ( nsACString nct = new nsACString( contentType ), nmethod = new nsACString( method ) )
			{
				_uploadChannel2.ExplicitSetUploadStream(
					stream._inputStream,
					nct,
					len,
					nmethod,
					streamHasHeaders
					);
			}
		}
 public void SetInputStream(InputStream stream,string contentType,int len)
 {
     nsString.Set( _uploadChannel.SetUploadStream, stream._inputStream, contentType, len );
 }
Esempio n. 3
0
		public void SetUploadStream( InputStream stream, string contentType, long len )
		{
			nsString.Set( _uploadChannel.Instance.SetUploadStream, stream._inputStream, contentType, len );
		}
		public void Init(InputStream stream)
		{
			_scriptableInputStream.Init( stream._inputStream );
		}
		public ScriptableInputStream(InputStream stream)
			:this()
		{
			Init( stream );
		}
Esempio n. 6
0
		public void SetData(InputStream stream)
		{
			_mimeInputStream.SetData( stream._inputStream );
		}
 public void SetData(InputStream stream)
 {
     _mimeInputStream.SetData(stream._inputStream);
 }