-
SummaryI'm curious why in tokio::join!(
serve(using_serve_dir(), 3001),
serve(using_serve_dir_with_assets_fallback(), 3002),
serve(using_serve_dir_only_from_root_via_fallback(), 3003),
serve(using_serve_dir_with_handler_as_service(), 3004),
serve(two_serve_dirs(), 3005),
serve(calling_serve_dir_from_a_handler(), 3006),
serve(using_serve_file_from_a_route(), 3307),
); Why would someone want to do this rather than use the same port for all of them? axum version0.7.7 |
Beta Was this translation helpful? Give feedback.
Answered by
jplatte
Oct 11, 2024
Replies: 1 comment 1 reply
-
I think the idea there is that it's really a couple of seperate but closely related examples that are simply packaged up as one binary. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
emnul
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think the idea there is that it's really a couple of seperate but closely related examples that are simply packaged up as one binary.