Good morning, sorry for post in the wrong place i lose my glasses.
Now i need know what do this handlers in Remote Connector
B4X:
Sub AppStart (Args() As String)
srvr.Initialize("")
rdcConnector1.Initialize
srvr.Port = rdcConnector1.serverPort
srvr.AddHandler("/test", "TestHandler", False) '<----- what do?
srvr.AddHandler("/rdc", "RDCHandler", False) '<----- what do?
srvr.Start
Log($"jRDC is running (version = $1.2{VERSION})"$)
StartMessageLoop
End Sub
I figured out what do Test and what do rdc, i need one command alone? sorry by my ignorance.
is the handler/URL link that is used by the DBRequestManager class on the client side. It should not be called directly (either via okhttp or a browser). The /test handler is there so that a browser can be used to see if a jRDC2 server is up and running and can connect properly to the underlying database.
You may want to check out https://www.b4x.com/android/forum/t...-rdc-remote-database-connector.61801/#content and watch posted video and read the first post.