Allow object instances to serialized to URLs. Base64 can not be stored in URLs due to special characters.
public static class UrlToken
type UrlToken = class
Public Class UrlToken
We use Bson and Gzip to make it small enough to fit within the maximum character limit of URLs.
http://stackoverflow.com/a/32999062 suggests HttpServerUtility's UrlTokenEncode and UrlTokenDecode
is not standards-compliant, but they seem to do the job.
Decode an item from a url token.
Encode an item to be stored in a url.