20 lines
950 B
Racket
20 lines
950 B
Racket
#lang scribble/doc
|
|
@(require "web-server.rkt"
|
|
(for-label web-server/web-server-unit
|
|
web-server/web-server-sig
|
|
web-server/web-config-unit
|
|
web-server/web-config-sig
|
|
web-server/configuration/configuration-table))
|
|
|
|
@title{Web Servers}
|
|
|
|
A Web server is a unit with the @racket[web-server^] signature. The most common way to construct one is to provide a @racket[web-config^] unit to the
|
|
@racket[web-server@] unit. The most common way to construct a @racket[web-config^] unit is to use @racket[configuration-table->web-config@] to produce
|
|
one from a configuration table file, such as the one that is shipped with Racket in @racket[default-configuration-table-path].
|
|
|
|
@include-section["web-server-unit.scrbl"]
|
|
@include-section["web-config-unit.scrbl"]
|
|
@include-section["ctable.scrbl"]
|
|
@include-section["ctable-structs.scrbl"]
|
|
@include-section["responders.scrbl"]
|