HttpRequest.readBodyAsFormUrlEncoded

Convenience method for reading the entire request body as a series of form-urlencoded key-value pairs.

struct HttpRequest
readBodyAsFormUrlEncoded
(
bool allowInfiniteRead = false
,
bool stripWhitespace = true
)

Parameters

allowInfiniteRead bool

Whether to read until no more data is available.

stripWhitespace bool

Whether to strip whitespace from parsed keys and values.

Return Value

The list of values that were parsed.