In some projects (including bismon and perhaps later RefPerSys) it could be useful to get a literal string giving the method name (e.g. "GET" or "POST" etc...) for a given Onion web-request.
This patch declares and defines a new onion_request_get_method_name function. The API of LibOnion changes compatibly
If accepted, a future patch might be proposed to add a C++ binding to that function (for the RefPerSys project).
In some projects (including bismon and perhaps later RefPerSys) it could be useful to get a literal string giving the method name (e.g. "GET" or "POST" etc...) for a given Onion web-request.
This patch declares and defines a new
onion_request_get_method_name
function. The API of LibOnion changes compatiblyIf accepted, a future patch might be proposed to add a C++ binding to that function (for the RefPerSys project).
Regards from Basile Starynkevitch (near Paris, in France) - you may email me to basile@starynkevitch.net