using System;
using System.Net.Http;
namespace RestEase
{
///
/// Helper which knows how to serialize a request body
///
[Obsolete("Use RequestBodySerializer instead")]
public interface IRequestBodySerializer
{
///
/// Serialize the given request body
///
/// Body to serialize
/// Type of the body to serialize
/// HttpContent to assign to the request
HttpContent SerializeBody(T body);
}
}