Namespace: joker.url
v1.0Contents
Summary
Parses URLs and implements query escaping.
Index
Legend
-
Constant
Variable
Function
Macro
Special form
Type
GoVar
Receiver/Method
Constants
Constants are variables with :const true in their metadata. Joker currently does not recognize them as special; as such, it allows redefining them or their values.-
(None.)
Variables
-
(None.)
Functions, Macros, and Special Forms
-
path-escape
Function v1.0(path-escape s)
Escapes the string so it can be safely placed inside a URL path segment.
-
path-unescape
Function v1.0(path-unescape s)
Does the inverse transformation of path-escape, converting each 3-byte encoded
substring of the form "%AB" into the hex-decoded byte 0xAB. It also converts
'+' into ' ' (space). It returns an error if any % is not followed by two hexadecimal digits.
PathUnescape is identical to QueryUnescape except that it does not unescape '+' to ' ' (space). -
query-escape
Function v1.0(query-escape s)
Escapes the string so it can be safely placed inside a URL query.
-
query-unescape
Function v1.0(query-unescape s)
Does the inverse transformation of query-escape, converting each 3-byte encoded
substring of the form "%AB" into the hex-decoded byte 0xAB. It also converts
'+' into ' ' (space). It returns an error if any % is not followed by two hexadecimal digits.
Types
-
(None.)