Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

public interface IHostBufferPolicySelector

The IHostBufferPolicySelector type exposes the following members.

Public methodUseBufferedInputStreamDetermines whether the host should buffer the HttpRequestMessage entity body.
Public methodUseBufferedOutputStreamDetermines whether the host should buffer the [T.System.Net.Http.HttpResponseMessage] entity body.
© 2015 Microsoft