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#
public bool CanParse(
	string contentType
)
Visual Basic (Declaration)
Public Function CanParse ( _
	contentType As String _
) As Boolean
Visual C++
public:
virtual bool CanParse(
	String^ contentType
) sealed

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

Implements

FormDecoder..::.CanParse(String)

See Also