HttpMessageParser.parseResponse

Parses message response (status line + headers).

  1. long parseResponse(T buffer, ulong lastPos)
  2. int parseResponse(T buffer)
    class HttpMessageParser
    int
    parseResponse
    (
    T
    )
    ()
    if (
    isArray!T &&
    (
    is(Unqual!(ForeachType!T) == char) ||
    is(Unqual!(ForeachType!T) == ubyte)
    )
    )

Return Value

Type: int

* parsed message header length when parsed sucessfully * -ParserError.partial on error (ie. -1 when message header is not comlete yet)

Meta