evhttp_parse_query_str

Helper function to parse out arguments from the query portion of an HTTP URI.

Parsing a query string like

q=test&s=some+thing

will result in two entries in the key value queue.

The first entry is: key="q", value="test" The second entry is: key="s", value="some thing"

@param query_parse the query portion of the URI @param headers the head of the evkeyval queue @return 0 on success, -1 on failure

extern (C) nothrow
int
evhttp_parse_query_str
(
const(char)* uri
,)

Meta