// Copyright © 2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
namespace CefSharp
{
///
/// Class used to represent a single element in the request post data.
/// The methods of this class may be called on any thread.
///
public interface IPostDataElement : IDisposable
{
///
/// Gets or sets the file name.
///
string File { get; set; }
///
/// Gets if the object is read-only.
///
bool IsReadOnly { get; }
///
/// Remove all contents from the post data element.
///
void SetToEmpty();
///
/// Gets the type of this .
///
PostDataElementType Type { get; }
///
/// Gets or sets the bytes of this .
///
byte[] Bytes { get; set; }
}
}