def parse_proc
import bendonnect-rpc@0.1.0.0/src/protocol.bend as Protocolimport Base
352# "<prefix>/pkg.Service/Method" -> "pkg.Service/Method"; else Status 404.
353def parse_proc(+path: String, +prefix: String) -> Result<&2, &1, Reject, String>:
354 proc.pre(String.starts_with(path, prefix), path, prefix)