Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (31 sloc) 0.691 kB
using System;
using System.IO;
namespace RestSharp
{
/// <summary>
/// Container for HTTP file
/// </summary>
public class HttpFile
{
/// <summary>
/// The length of data to be sent
/// </summary>
public long ContentLength { get; set; }
/// <summary>
/// Provides raw data for file
/// </summary>
public Action<Stream> Writer { get; set; }
/// <summary>
/// Name of the file to use when uploading
/// </summary>
public string FileName { get; set; }
/// <summary>
/// MIME content type of file
/// </summary>
public string ContentType { get; set; }
/// <summary>
/// Name of the parameter
/// </summary>
public string Name { get; set; }
}
}
Jump to Line
Something went wrong with that request. Please try again.