Skip to main content

is_http_object_path

Function is_http_object_path 

Source
pub fn is_http_object_path(raw_path: &str) -> bool
Expand description

Whether raw_path belongs to the HTTP object namespace: it contains the mandatory /-/ segment that RPC service paths never do (§2). Routers dispatch on this, never on a /grpc.* prefix glob.