CanParse Method

HttpServer.dll

Checks if the decoder can handle the mime type

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

Syntax

C#
bool CanParse(
	string contentType
)
Visual Basic (Declaration)
Function CanParse ( _
	contentType As String _
) As Boolean
Visual C++
bool CanParse(
	String^ contentType
)

Parameters

contentType
Type: System..::.String
Content type (with any additional info like boundry). Content type is always supplied in lower case.

Return Value

True if the decoder can parse the specified content type

See Also