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)

bool UseBufferedOutputStream(
	HttpResponseMessage response
)

Parameters

response
Type: System.Net.Http.HttpResponseMessage

The HTTP response message.

Return Value

Type: System.Boolean

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

Return to top
Show: