//-----------------------------------------------------------------------
//
// Copyright (c) Outercurve Foundation. All rights reserved.
//
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.Messaging {
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
///
/// The interface that classes must implement to be serialized/deserialized
/// as protocol or extension messages that uses POST multi-part data for binary content.
///
public interface IMessageWithBinaryData : IDirectedProtocolMessage {
///
/// Gets the parts of the message that carry binary data.
///
/// A list of parts. Never null.
IList BinaryData { get; }
///
/// Gets a value indicating whether this message should be sent as multi-part POST.
///
bool SendAsMultipart { get; }
}
}