This commit is contained in:
2026-06-15 18:18:16 +08:00
parent 97c9fba14e
commit 2b9f134e5f
4164 changed files with 386922 additions and 79 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);
}
}