Re: [grpc-io] [C++] Modifying rpc url paths

2018-02-13 Thread Divakar Y
Any update or any other suggestion for the same.

On Friday, November 3, 2017 at 3:07:20 AM UTC+5:30, Arpit Baldeva wrote:
>
> Okay - thx for the info. 
>
> As per previous comment about protoc forking,we want to avoid it. The 
> reason being we'd want people to be able to use an off the shelf protoc. 
>
> On Thursday, November 2, 2017 at 10:48:48 AM UTC-7, Eric Anderson wrote:
>>
>> Use a custom header. gRPC does not like alternative paths. It is 
>> possible, just a pain.
>>
>> On Wed, Nov 1, 2017 at 3:01 PM, Arpit Baldeva  wrote:
>>
>>> Hi,
>>>
>>> Currently, looks like rpc urls are generated in the form of />> name>/. Is there a way to prefix the urls such that grpc client 
>>> could call //? The receiver can chop 
>>> off the prefix and call the correct rpc.
>>>
>>> Use case: We'd like to have a proxy sitting between our client and grpc 
>>> server. The proxy will serve multiple clients. So a client could call 
>>> ourdomain.com///. 
>>> The proxy will chop off  and reroute the rpc 
>>> to correct handling instance. 
>>>
>>> One option to do it would be via custom header but was wondering if url 
>>> prefixing has been thought of/brought up before?
>>>
>>> Thanks. 
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "grpc.io" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to grpc-io+u...@googlegroups.com.
>>> To post to this group, send email to grp...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/grpc-io.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/grpc-io/65e47a3f-c51e-4d34-b6a0-601badd8091f%40googlegroups.com
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/01c8672b-fc0c-4f93-bd49-e5a4a2c3c548%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [grpc-io] [C++] Modifying rpc url paths

2017-11-02 Thread Arpit Baldeva
Okay - thx for the info. 

As per previous comment about protoc forking,we want to avoid it. The 
reason being we'd want people to be able to use an off the shelf protoc. 

On Thursday, November 2, 2017 at 10:48:48 AM UTC-7, Eric Anderson wrote:
>
> Use a custom header. gRPC does not like alternative paths. It is possible, 
> just a pain.
>
> On Wed, Nov 1, 2017 at 3:01 PM, Arpit Baldeva  > wrote:
>
>> Hi,
>>
>> Currently, looks like rpc urls are generated in the form of /> name>/. Is there a way to prefix the urls such that grpc client 
>> could call //? The receiver can chop 
>> off the prefix and call the correct rpc.
>>
>> Use case: We'd like to have a proxy sitting between our client and grpc 
>> server. The proxy will serve multiple clients. So a client could call 
>> ourdomain.com///. 
>> The proxy will chop off  and reroute the rpc 
>> to correct handling instance. 
>>
>> One option to do it would be via custom header but was wondering if url 
>> prefixing has been thought of/brought up before?
>>
>> Thanks. 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "grpc.io" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to grpc-io+u...@googlegroups.com .
>> To post to this group, send email to grp...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/grpc-io.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/grpc-io/65e47a3f-c51e-4d34-b6a0-601badd8091f%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/f008b747-507d-4266-b539-14f1a7a3c353%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [grpc-io] [C++] Modifying rpc url paths

2017-11-02 Thread 'Eric Anderson' via grpc.io
Use a custom header. gRPC does not like alternative paths. It is possible,
just a pain.

On Wed, Nov 1, 2017 at 3:01 PM, Arpit Baldeva  wrote:

> Hi,
>
> Currently, looks like rpc urls are generated in the form of / name>/. Is there a way to prefix the urls such that grpc client
> could call //? The receiver can chop
> off the prefix and call the correct rpc.
>
> Use case: We'd like to have a proxy sitting between our client and grpc
> server. The proxy will serve multiple clients. So a client could call
> ourdomain.com///.
> The proxy will chop off  and reroute the rpc
> to correct handling instance.
>
> One option to do it would be via custom header but was wondering if url
> prefixing has been thought of/brought up before?
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups "
> grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to grpc-io+unsubscr...@googlegroups.com.
> To post to this group, send email to grpc-io@googlegroups.com.
> Visit this group at https://groups.google.com/group/grpc-io.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/grpc-io/65e47a3f-c51e-4d34-b6a0-601badd8091f%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CA%2B4M1oPZEU2pU6bcj9y1uVPrx9o6mZkH561Xh%2BQ2M7UeT0PPew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


smime.p7s
Description: S/MIME Cryptographic Signature