pub fn http_handler_method_name_ir(method: IrHttpMethod, path: &str) -> StringExpand description
Synthesise a TypeScript-safe method name for an on http METHOD path
handler. The result is used both as the key on the service object and
as the identifier the Worker fetch handler invokes. Path parameter
segments (:name) become Param_name to remain distinct from literal
segments. (v0.9 §5.3)
Slice 1 of #1542 (the IR cutover, design/archive/retired-tracks.md): this used to
have an AST-typed HttpMethod twin, http_handler_method_name — deleted
once its last production caller converted to this IrHttpMethod version,
which every call site now holds already-resolved (IrHandlerKind::Http’s
own payload) rather than re-deriving from HandlerKind::Http.