Beispiel #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 );
 }
Beispiel #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 );
		}
		public void SetData(InputStream stream)
		{
			_mimeInputStream.SetData( stream._inputStream );
		}
 public void SetData(InputStream stream)
 {
     _mimeInputStream.SetData(stream._inputStream);
 }