New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI.Editor.DialogControls

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class HTTPSend : IDisposable

Inheritance: objectHTTPSend

Implements: IDisposable

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public HTTPSend(string url)
Parameters:urlstring

Properties

C#
public string BeginBoundary { get; set; }
C#
public int BufferSize { get; set; }
C#
public X509Certificate Certificate { get; set; }
C#
public bool Chunked { get; set; }
C#
public string ContentBoundary { get; set; }
C#
public ICredentials Credentials { get; set; }
C#
public string EndingBoundary { get; set; }
C#
public bool Expect100 { get; set; }
C#
public string FileContentType { get; set; }
C#
public bool KeepAlive { get; set; }
C#
public bool Pipelined { get; set; }
C#
public StringBuilder ResponseText { get; set; }
C#
public Version TransferHttpVersion { get; set; }
C#
public string URL { get; set; }

Methods

C#
public void Dispose()

Implements: IDisposable.Dispose()

C#
protected virtual void Dispose(bool disposing)
Parameters:disposingbool
C#
public string GetFileHeader(string filename)
Parameters:filenamestringReturns:

string

C#
public string GetFileTrailer()
Returns:

string

C#
public string GetFormFields()
Returns:

string

C#
public void GetResponse()
C#
public Stream GetStream()
Returns:

Stream

C#
public void SendFile(string filename)
Parameters:filenamestring
C#
public void SendTextAsFile(string content, string filename)
Parameters:contentstringfilenamestring
C#
public void SetField(string name, string value)
Parameters:namestringvaluestring
C#
public void SetFilename(string path)
Parameters:pathstring
C#
public void SetHeader(string name, string value)
Parameters:namestringvaluestring
C#
public void WriteFile(Stream output, string filename)
Parameters:outputStreamfilenamestring
C#
public static void WriteString(Stream output, string data)
Parameters:outputStreamdatastring