Returns a stream of two-element tuples representing key-value pairs in the given query.

 

Properties

  • string: Location of the query string to decode into an object

Output

  • output-location: Location to store the output data

Key and value in each tuple will be binaries and will be percent-unescaped.

For example

URI query of “(“foo=1&bar=2”) |> Enum.to_list()” will return “[{“foo”, “1”}, {“bar”, “2”}]”

0 0 vote
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments