struct

Noir::TreeSitterKotlinKtorRouteExtractor::Route

Inherits Struct < Value < Object

Constructors

new(verb : String, path : String, line : Int32, receive_type : Nil | String, has_body : Bool, query_params : Array(String), header_params : Array(String), form_params : Array(String), callees : Array(Tuple(String, Int32)))
Source

Instance methods

callees

1-hop callees out of the handler lambda body. path is left for the caller to fill in (the route extractor doesn't carry the file path itself); each tuple is (callee_name, line_1_based).

Source
form_params
Source
has_body?
Source
header_params
Source
line
Source
path
Source
query_params
Source
receive_type
Source
verb
Source