Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

TryGetStream

func TryGetStream() -> Optional<InputStream>

Declaring type: HttpContent
Module: System.Web.Http
Assembly: System.Web.dll
Source file: HttpClient.rvn

Returns the one-shot input stream, or None for buffered content. Does not read. The content owns the stream unless HttpStreamContent.Create was passed leaveOpen=true.

Return value

Optional<InputStream>