System.Net.Http.ObjectContent public class ObjectContent : HttpContent Documentation public MediaTypeFormatter Formatter { get; } public Type ObjectType { get; } public object Value { get; set; } public ObjectContent(Type type, object value, MediaTypeFormatter formatter) public ObjectContent(Type type, object value, MediaTypeFormatter formatter, string mediaType) public ObjectContent(Type type, object value, MediaTypeFormatter formatter, MediaTypeHeaderValue mediaType)