using System.Threading.Tasks;
namespace EmbedIO
{
///
/// Represents an object that can handle a HTTP context.
/// This API supports the EmbedIO infrastructure and is not intended to be used directly from your code.
///
public interface IHttpContextHandler
{
///
/// Asynchronously handles a HTTP context, generating a suitable response
/// for an incoming request.
/// This API supports the EmbedIO infrastructure and is not intended to be used directly from your code.
///
/// The HTTP context.
/// A representing the ongoing operation.
Task HandleContextAsync(IHttpContextImpl context);
}
}