How to get query string in accepting connection

24 views
Skip to first unread message

jh...@google.com

unread,
Mar 31, 2016, 1:20:55 PM3/31/16
to mojo-dev
Hello,

I need to get the query string in connection url when accepting a connection so that I create a different instance depending on the query string.

But I couldn't find a way to get it in AcceptConnection(). I can get the url in Initialize() of delegate, but it is called only one time.

For example, I'd like to create different instances for
ConnectToApplication("https://xxx/yyy?q=1")
ConnectToApplication("https://xxx/yyy?q=2")

Is this possible (in Java and Go)?

Thanks,

jh...@google.com

unread,
Mar 31, 2016, 1:53:51 PM3/31/16
to mojo-dev, jh...@google.com
I could get the url string from ConnectionURL().
Sorry for the spam.
Reply all
Reply to author
Forward
0 new messages