Class ContentInfo
Holder class for a content object and metadata about that object to be set in content headers if provided
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 class ContentInfo
Constructors
| Improve this Doc View SourceContentInfo(Object, String)
ctor
Declaration
public ContentInfo(object content, string mimeType = "")
Parameters
Type | Name | Description |
---|---|---|
Object | content | |
String | mimeType |
Properties
| Improve this Doc View SourceContent
The content to send
Declaration
public object Content { get; }
Property Value
Type | Description |
---|---|
Object |
ContentHeaders
Additional content headers
Declaration
public IDictionary<string, string> ContentHeaders { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<String, String> |
MimeType
The MIME type of the content object
Declaration
public string MimeType { get; }
Property Value
Type | Description |
---|---|
String |