grpc-java
grpc-java copied to clipboard
Calling a service in subdirectory
I am not able to call my service with subdirectory "https://example.com/subdirectory_path" The call always resolves to example.com and ignores the subdirectory_path. This is how I create the channel : OkHttpChannelBuilder.forTarget(uri.host+uri.path).build()
I found a resolution for this on dotnet subdirectory_path
But on android, since I don't have access to httpHandler of the channel, I am unable to use SubDirectoryHandler to inject the subdirectory into the URI.
Could someone please help me.