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

public interface IHostBufferPolicySelector
public interface class IHostBufferPolicySelector
type IHostBufferPolicySelector = interface end
Public Interface IHostBufferPolicySelector

Methods

Name Description
System_CAPS_pubmethod UseBufferedInputStream(Object)

Determines whether the host should buffer the HttpRequestMessage entity body.

System_CAPS_pubmethod UseBufferedOutputStream(HttpResponseMessage)

Determines whether the host should buffer the T.System.Net.Http.HttpResponseMessage entity body.

See Also

System.Web.Http.Hosting Namespace

Return to top