Skip to main content

grpc_method

Function grpc_method 

Source
fn grpc_method(path: &str) -> &str
Expand description

Returns the method name from a gRPC request path.

tonic routes on /<package>.<service>/<Method>, so the method is the last segment.