PageRenderTime 81ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 0ms

/src/Manos.IO/Manos.IO/ISendfileCapable.cs

http://github.com/jacksonh/manos
C# | 21 lines | 8 code | 2 blank | 11 comment | 0 complexity | 4e3baca972f9e5e452b5631018f80fe0 MD5 | raw file
 1using System;
 2
 3namespace Manos.IO
 4{
 5	/// <summary>
 6	/// Marks a stream as sendfile-capable, i.e. the streams supports
 7	/// efficient methods to write the contents of a given file to
 8	/// the stream.
 9	/// </summary>
10	public interface ISendfileCapable
11	{
12		/// <summary>
13		/// Sends a file to the stream efficiently.
14		/// </summary>
15		/// <param name='file'>
16		/// Name of the file to send.
17		/// </param>
18		void SendFile (string file);
19	}
20}
21