Share via


IHostBufferPolicySelector.UseBufferedInputStream Method (Object)

 

Determines whether the host should buffer the HttpRequestMessage entity body.

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

Syntax

bool UseBufferedInputStream(
    object hostContext
)
bool UseBufferedInputStream(
    Object^ hostContext
)
abstract UseBufferedInputStream : 
        hostContext:Object -> bool
Function UseBufferedInputStream (
    hostContext As Object
) As Boolean

Parameters

Return Value

Type: System.Boolean

true if buffering should be used; otherwise a streamed request should be used.

See Also

IHostBufferPolicySelector Interface
System.Web.Http.Hosting Namespace

Return to top