Class StreamInfo
Wrapper class for a Stream that relates the stream to metadata (MIME type) about the stream so metadata can be added to content headers
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DynamicRestProxy.PortableHttpClient
Assembly: DynamicRestProxy.NetStandard.dll
Syntax
public sealed class StreamInfo : ContentInfo, IDisposable
Constructors
| Improve this Doc View SourceStreamInfo(Stream, String)
Constructor
Declaration
public StreamInfo(Stream stream, string mimeType = "application/octet-stream")
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | stream |
String | mimeType | MIME type |
Methods
| Improve this Doc View SourceDispose()
Disposes the underlying stream when called
Declaration
public void Dispose()