pub fn router(config: &ServeConfig, face: BindFace) -> RouterExpand description
Builds the route table. Split from serve so a test can exercise the
routes over an in-process transport without owning a port.
face is the binding verdict’s, so the credential every door judges
against is decided once, before the socket exists, and cannot differ
from the face the listener presents.