Std.Http.Server.Route.Request
type
RequestThis declaration introduces a public type.
What it does
What a request is once it has been routed, and how a router decides.
Separated from [[Std Http Server]] because routing needs no connection: a
handler is a request in and a response out, so a program checks its routes
and its chain of steps by calling them, without binding a port. The server
reads requests off sockets and hands them here.
A request as a handler sees it.
The protocol's own request is kept whole rather than taken apart, so a
handler that needs a header the router did not look at still has one. What
is added is the part routing produced: the path with its query removed, the
values a pattern captured, and the query read once rather than by every
handler that wants a parameter.
Read the signature
- This declaration has no value signature because it introduces a type or trait.
