IHostBufferPolicySelector.UseBufferedOutputStream Method (HttpResponseMessage)

 

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

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

Syntax

bool UseBufferedOutputStream(
    HttpResponseMessage response
)
bool UseBufferedOutputStream(
    HttpResponseMessage^ response
)
abstract UseBufferedOutputStream : 
        response:HttpResponseMessage -> bool
Function UseBufferedOutputStream (
    response As HttpResponseMessage
) As Boolean

Parameters

Return Value

Type: System.Boolean

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

See Also

IHostBufferPolicySelector Interface
System.Web.Http.Hosting Namespace

Return to top