Noir::TreeSitterJvmLambdaDslExtractor::Config
Constructors
new(verb_methods : Hash(String, String), nest_methods : Set(String), handler_methods : Set(String) = Set(String).new, crud_methods : Set(String) = Set(String).new, transparent_methods : Set(String) = Set(String).new, query_methods : Set(String) = Set(String).new, form_methods : Set(String) = Set(String).new, header_methods : Set(String) = Set(String).new, cookie_methods : Set(String) = Set(String).new, body_methods : Set(String) = Set(String).new, body_typed_methods : Set(String) = Set(String).new, websocket_methods : Set(String) = Set(String).new, router_receivers : Set(String) = Set(String).new)
SourceInstance methods
body_methods
Sourcebody_typed_methods
Sourcecookie_methods
Sourcecrud_methods
Sourceform_methods
Sourcehandler_methods
Sourceheader_methods
Sourcenest_methods
Sourcequery_methods
Sourcerouter_receivers
Receiver names (the object in recv.get(...)) that mark a
verb call as a genuine route registration even when it carries
no functional handler argument. Spark's redirect API
(redirect.get("/from", "/to")) is the canonical case — its
arguments are all string literals, so without an explicit
allowlist it's indistinguishable from a colliding collection
call like map.put("k", "v"). Matched against the receiver's
last dotted segment, so both redirect.get(...) and
Spark.redirect.get(...) resolve to redirect.
transparent_methods
Sourceverb_methods
Sourcewebsocket_methods
Source