Could you please further explain your questions with some examples?
in my RhoConnect application i want to add a custom route to my Product controller (Rhomobile | Extending RhoConnect Application with custom routes)
class ProductController < Rhoconnect::Controller::Base
# register SYNC routes
# add your custom routes here
get '/my_custom_route', :login_required => true do
puts "Hollo world"
in Rhodes application, how can i access my_custom_route function,
i can't use rest-client gem in rhodes application (Re: How is possible to quickly identify if a ruby gem can be used in Rhodes?)
and i don't think it's possible with RhoConnectClient API.
You can access custom route using Rho::AsyncHttp API (http://docs.rhomobile.com/v/2.2/rhodesapi/asynchttp-api/#get) if using RMS 2.2 as shown below,
:callback => url_for(:action => :callback)
Will that help you?
as i am using RMS4.0, NetWork api does the work for me.