ankh v0.8.2 Ankh.HTTP.Query
Recursive HTTP query encode/decode to/from x-www-urlencoded form
This code was taken and adapted from Plug Plug.Conn.Query
and Plug.Conn.Utils
which
are distributed under the Apache 2.0 license.
Link to this section Summary
Functions
Decodes the given binary. The binary is assumed to be encoded in "x-www-form-urlencoded" format. The format is decoded and then validated for proper UTF-8 encoding.
Encodes the given map or list of stuples.
Link to this section Types
Link to this type
query()
Specs
query() :: binary()
Specs
t() :: map()
Link to this section Functions
Link to this function
decode(string)
Specs
Decodes the given binary. The binary is assumed to be encoded in "x-www-form-urlencoded" format. The format is decoded and then validated for proper UTF-8 encoding.
Link to this function
encode(map)
Specs
Encodes the given map or list of stuples.