C# Класс 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)
Показать файл Открыть проект

Открытые методы

Метод Описание
HttpMultipart ( Stream data, string b, Encoding encoding ) : System
ReadNextElement ( ) : Element

Приватные методы

Метод Описание
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

Описание методов

HttpMultipart() публичный Метод

public HttpMultipart ( Stream data, string b, Encoding encoding ) : System
data Stream
b string
encoding System.Text.Encoding
Результат System

ReadNextElement() публичный Метод

public ReadNextElement ( ) : Element
Результат Element