Skip to content

Commit

Permalink
demo: Return a more identifying string for GET requests
Browse files Browse the repository at this point in the history
It's good practice to return something identifying the service
offered on basic requests. This could include a link to the
paper and/or repository after publication.
  • Loading branch information
rillian committed Aug 13, 2024
1 parent 782998e commit e636953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/examples/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
}

async fn handler() -> &'static str {
"Hello, Client!"
"Boomerang protocol server. Try POST /\n"
}

lazy_static! {
Expand Down

0 comments on commit e636953

Please sign in to comment.