HttpRequestParser.State Enumeration

HttpServer.dll

Current state in the parsing.

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

Syntax

C#
public enum State
Visual Basic (Declaration)
Public Enumeration State
Visual C++
public enum class State

Members

Member nameDescription
FirstLine
Should parse the request line
HeaderName
Searching for a complete header name
AfterName
Searching for colon after header name (ignoring white spaces)
Between
Searching for start of header value (ignoring white spaces)
HeaderValue
Searching for a complete header value (can span over multiple lines, as long as they are prefixed with one/more whitespaces)
Body
Adding bytes to body

See Also