Version: 4.1.5
3.4.2 Configuration Units
| (require web-server/web-config-unit) |
| ||||||||||||||||||||
| → (unit/c (import) (export web-config^)) | ||||||||||||||||||||
| path : path-string? | ||||||||||||||||||||
| 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/c (import) (export 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.