C# Class Universe.Framework.Utilities.HttpMultipart

Stream-based multipart handling. In this incarnation deals with an HttpInputStream as we are now using IntPtr-based streams instead of byte []. In the future, we will also send uploads above a certain threshold into the disk (to implement limit-less HttpInputFiles).
Taken from HttpRequest in mono (http://www.mono-project.com)
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe

Méthodes publiques

Méthode Description
HttpMultipart ( Stream data, string b, Encoding encoding ) : System
ReadNextElement ( ) : Element

Private Methods

Méthode Description
CompareBytes ( byte orig, byte other ) : bool
GetContentDispositionAttribute ( string l, string name ) : string
GetContentDispositionAttributeWithEncoding ( string l, string name ) : string
MoveToNextBoundary ( ) : long
ReadBoundary ( ) : bool
ReadHeaders ( ) : string
ReadLine ( ) : string
StripPath ( string path ) : string

Method Details

HttpMultipart() public méthode

public HttpMultipart ( Stream data, string b, Encoding encoding ) : System
data Stream
b string
encoding System.Text.Encoding
Résultat System

ReadNextElement() public méthode

public ReadNextElement ( ) : Element
Résultat Element