Version: 4.1.3
3.4.2 Configuration Units
(require web-server/web-config-unit) |
| ||||||||||||||||||||
→ (unit? web-config^) | ||||||||||||||||||||
path : path? | ||||||||||||||||||||
port : (or/c false/c port-number?) = #f | ||||||||||||||||||||
listen-ip : (or/c false/c string?) = #f | ||||||||||||||||||||
|
Reads the S-expression at path and calls configuration-table-sexpr->web-config@ appropriately.
| ||||||||||||||||||||||||
→ (unit? web-config^) | ||||||||||||||||||||||||
sexpr : list? | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
port : (or/c false/c port-number?) = #f | ||||||||||||||||||||||||
listen-ip : (or/c false/c string?) = #f | ||||||||||||||||||||||||
|
Parses sexpr as a configuration-table and constructs a web-config^ unit.