Ambition.Action.responds_to_request – ambition Reference Manual
Packages
ambition
Ambition
Action
last_path
methods
targets
Action
add_target
add_target_method
allow_method
path
regex
responds_to_request
_regex
responds_to_request
Description:
public
bool
responds_to_request
(
string
decoded_path,
HttpMethod
method,
out
owned
MatchInfo
info =
null
)
Given a path and a method, return true if this action can respond to the request.
Parameters:
decoded_path
Dispatcher-decoded path
method
HttpMethod of given request