pub fn router(state: HttpState) -> Router
Build the axum router for the HTTP transport. Exposed so tests can drive it with tower::ServiceExt::oneshot without binding a socket.
tower::ServiceExt::oneshot