Function extractHttpMethodAndName
Uses given function symbol to determine what HTTP method
and what URL path
should be used to access it in REST API.
Is designed for CTFE usage and will assert at run time.
Prototype
Tuple!(bool,HttpMethod,string) extractHttpMethodAndName(alias Func)()();
Returns
Tuple of three elements: flag "was UDA used to override path
" HttpMethod extracted url path
extracted
Authors
Sönke Ludwig, Михаил Страшун
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.