5.6 Serialization Utilities

► |  | Web Server: HTTP Server

1 | Dispatching Server
2 | Dispatchers
3 | Launching Servers
4 | Web Servers
5 | Internal APIs
6 | Troubleshooting and Tips
| Index

▼ | 5 | Internal APIs

5.1 | Timers
5.2 | Connection Manager
5.3 | Serializable Closures
5.4 | Cache Table
5.5 | MIME Types
5.6 | Serialization Utilities
5.7 | URL Param
5.8 | GZip
5.9 | Miscellaneous Utilities

On this page:

compress-serial
decompress-serial

top ← prev up next →

#### 5.6`` Serialization Utilities

(require web-server/private/mod-map)
| package: web-server-lib

The racket/serialize library provides the functionality of serializing values. This module compresses the serialized representation.

> procedure (compress-serial sv) → list?
> sv : list?

Collapses multiple occurrences of the same module in the module map of the serialized representation, sv.

> procedure (decompress-serial csv) → list?
> csv : list?

Expands multiple occurrences of the same module in the module map of the compressed serialized representation, csv.
top ← prev up next →