HttpMessage.ExtractResponseContent Method

Definition

Returns the response content stream and releases it ownership to the caller. After calling this methods using ContentStream or Content would result in exception.

public System.IO.Stream? ExtractResponseContent ();
member this.ExtractResponseContent : unit -> System.IO.Stream
Public Function ExtractResponseContent () As Stream

Returns

The content stream or null if response didn't have any.

Applies to