Click or drag to resize

HttpIncomingRequestResponseContentStream Property

Returns a Stream object with the HTTP body of the received request (server) or response (client). Because ContentStream provides you with direct access to the underlying Connection Stream, it is the fastest and most efficient way to access the response (as opposed to ContentString and ContentBytes, both of which involve copying the entire data from the stream into a memory buffer).

Namespace: Crestron.SimplSharp.Net.Http
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public Stream ContentStream { get; }

Property Value

Stream

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also