This implements a service that routes requests based on Content-Type
. If starts with application/grpc
it sends to
the inner gRPC service. If it doesn't, then it sends to the other service.
Try the examples:
Open the server, them try the web service at http://[::1]:9999.
sh
cargo run --example hello_world_server
sh
cargo run --example hello_world_client