Table of Contents

Class HeaderUtility

Namespace
nanoFramework.WebServer.HttpMultipartParser
Assembly
nanoFramework.WebServer.dll

Provides parsing headers from a Http Multipart Form

public static class HeaderUtility
Inheritance
HeaderUtility
Inherited Members

Methods

ParseHeaders(string, Hashtable)

Reads headers from a line of text. Headers are delimited by a semi-colon ';' Key-value pairs are separated by colon ':' or equals '=' Values can be delimited by quotes '"' or not

public static void ParseHeaders(string text, Hashtable headers)

Parameters

text string

The line of text containing one or more headers

headers Hashtable

The hashtable that will receive the key values. Passed in since a Multipart Part can contain multiple lines of headers