Show / Hide Table of Contents

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

Inheritance
Object
ContentInfo
StreamInfo
Implements
IDisposable
Inherited Members
ContentInfo.ContentHeaders
ContentInfo.Content
ContentInfo.MimeType
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 Source

StreamInfo(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 Source

Dispose()

Disposes the underlying stream when called

Declaration
public void Dispose()

Implements

IDisposable
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX