MsgParser.parseResponse

Parses message response (status line + headers).

  1. int parseResponse(T buffer, uint lastPos)
  2. int parseResponse(T buffer)
    struct MsgParser(MSG)
    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