grpc-java icon indicating copy to clipboard operation
grpc-java copied to clipboard

Calling a service in subdirectory

Open urprasad opened this issue 3 years ago • 0 comments

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.

urprasad avatar Oct 12 '22 07:10 urprasad