refactor: rename HttpApiService.serve() to HttpApiService.run()

This commit is contained in:
2026-08-16 22:31:29 -05:00
parent a360aa6b30
commit 5216228f88
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ impl Default for HttpApiConfig {
}
pub struct HttpApiService<'a, AB: AppBuilder> {
pub config: HttpApiConfig,
config: HttpApiConfig,
net_stack: Stack<'a>,
app: AppRouter<AB>,
@@ -52,7 +52,7 @@ impl<'a, AB: AppBuilder> HttpApiService<'a, AB> {
}
}
pub async fn serve(&mut self) {
pub async fn run(&mut self) {
picoserve::Server::new(
&self.app,
&self.config.web_serve_config,