cleanup, docs
This commit is contained in:
@@ -11,7 +11,8 @@ return value : a string with the encoded parameters
|
||||
:content
|
||||
Encodes a `StringMap` of URL parameters into a single query-string `String`.
|
||||
|
||||
## Related Concepts
|
||||
|
||||
- PHP: `http_build_query()`
|
||||
- JavaScript / Node.js: `URLSearchParams` and `toString()`
|
||||
:example
|
||||
StringMap q;
|
||||
q["name"] = "Ada Lovelace";
|
||||
print(encode_query(q), "\n");
|
||||
|
||||
Reference in New Issue
Block a user