IHostBufferPolicySelector Interface

Interface for controlling the use of buffering requests and responses in the host. If a host provides support for buffering requests and/or responses then it can use this interface to determine the policy for when buffering is to be used.

Namespace:  System.Web.Http.Hosting
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Interface IHostBufferPolicySelector
'Usage
Dim instance As IHostBufferPolicySelector
public interface IHostBufferPolicySelector
public interface class IHostBufferPolicySelector
type IHostBufferPolicySelector =  interface end
public interface IHostBufferPolicySelector

The IHostBufferPolicySelector type exposes the following members.

Methods

  Name Description
Public method UseBufferedInputStream Determines whether the host should buffer the HttpRequestMessage entity body.
Public method UseBufferedOutputStream Determines whether the host should buffer the [T.System.Net.Http.HttpResponseMessage] entity body.

Top

See Also

Reference

System.Web.Http.Hosting Namespace