WebHostBufferPolicySelector.UseBufferedInputStream Method

Gets a value that indicates whether the host should buffer the entity body of the HTTP request.

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

Syntax

'Declaration
Public Overridable Function UseBufferedInputStream ( _
    hostContext As Object _
) As Boolean
'Usage
Dim instance As WebHostBufferPolicySelector 
Dim hostContext As Object 
Dim returnValue As Boolean 

returnValue = instance.UseBufferedInputStream(hostContext)
public virtual bool UseBufferedInputStream(
    Object hostContext
)
public:
virtual bool UseBufferedInputStream(
    Object^ hostContext
)
abstract UseBufferedInputStream : 
        hostContext:Object -> bool  
override UseBufferedInputStream : 
        hostContext:Object -> bool
public function UseBufferedInputStream(
    hostContext : Object
) : boolean

Parameters

Return Value

Type: System.Boolean
true if buffering should be used; otherwise a streamed request should be used.

Implements

IHostBufferPolicySelector.UseBufferedInputStream(Object)

See Also

Reference

WebHostBufferPolicySelector Class

System.Web.Http.WebHost Namespace