// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Net.Http;
using System.Threading;
using System.Web.Http.ExceptionHandling;
using System.Web.Http.Hosting;
namespace System.Web.Http.Owin
{
/// Represents the options for configuring an .
public class HttpMessageHandlerOptions
{
///
/// Gets or sets the to submit requests to.
///
public HttpMessageHandler MessageHandler { get; set; }
///
/// Gets or sets the that determines whether or not to buffer requests
/// and responses.
///
public IHostBufferPolicySelector BufferPolicySelector { get; set; }
/// Gets or sets the to use to log unhandled exceptions.
public IExceptionLogger ExceptionLogger { get; set; }
/// Gets or sets the to use to process unhandled exceptions.
public IExceptionHandler ExceptionHandler { get; set; }
///
/// Gets or sets the that triggers cleanup of the
/// .
///
public CancellationToken AppDisposing { get; set; }
}
}