- Initial commit

This commit is contained in:
Timur Kozanov
2026-07-03 05:02:26 +03:00
commit 374ff1e689
4080 changed files with 388870 additions and 0 deletions

View File

@ -0,0 +1,18 @@
using Best.HTTP.Response;
namespace Best.HTTP.Hosts.Connections
{
/// <summary>
/// Defines an interface for notifying connections when space becomes available in a buffer for downloading data.
/// Connections implementating of this interface are used to signal their internal logic that they can transfer data into the available buffer space.
/// </summary>
public interface IDownloadContentBufferAvailable
{
/// <summary>
/// Notifies a connection that space has become available in the buffer for downloading data.
/// When invoked, this method indicates to a connection that it can transfer additional data into the buffer for further processing.
/// </summary>
/// <param name="stream">The <see cref="DownloadContentStream"/> instance associated with the buffer.</param>
void BufferAvailable(DownloadContentStream stream);
}
}