Decode Method

HttpServer.dll

[Missing <summary> documentation for M:HttpServer.FormDecoders.UrlDecoder.Decode(System.IO.Stream,System.String,System.Text.Encoding)]

Namespace:  HttpServer.FormDecoders
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public HttpForm Decode(
	Stream stream,
	string contentType,
	Encoding encoding
)
Visual Basic (Declaration)
Public Function Decode ( _
	stream As Stream, _
	contentType As String, _
	encoding As Encoding _
) As HttpForm
Visual C++
public:
virtual HttpForm^ Decode(
	Stream^ stream, 
	String^ contentType, 
	Encoding^ encoding
) sealed

Parameters

stream
Type: System.IO..::.Stream
Stream containing the content
contentType
Type: System..::.String
Content type (with any additional info like boundry). Content type is always supplied in lower case
encoding
Type: System.Text..::.Encoding
Stream enconding

Return Value

A http form, or null if content could not be parsed.

Implements

FormDecoder..::.Decode(Stream, String, Encoding)

Exceptions

ExceptionCondition
System.IO..::.InvalidDataExceptionIf contents in the stream is not valid input data.

See Also