Out of curiosity, what transport layer are you interested in?

The simple answer is no, this is not possible in C#.

A longer answer is there are 2 theoretical possibilities, but unless you're 
ready to basically maintain your own fork of gRPC, I certainly wouldn't 
recommend any of them:
1. you could write your own transport layer in C/C++ (expert level stuff), 
add it to C-core library and use it from the C# wrapping layer (after 
building your own custom nuget)
2. you could use Grpc.Core.Api to implement the gRPC C# public API yourself 
and create a custom C# "channel" that will do whatever you want. (this is 
basically what the grpc/grpc-dotnet project has done). Note that this 
approach basically means you're rewriting the entire gRPC implementation 
yourself, so definitely not recommended.

On Monday, January 20, 2020 at 6:28:28 PM UTC+1 [email protected] wrote:

> Hello !
> I am looking for possibility to write custom 'channel' of communication in 
> C#. I need to use grpc over something else than HTTP. Is there any 
> possibility to write own Server ? I found that there is ChannelBase class 
> but I could not find anything like that for Server class.
>
> Mikart
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/668aae3e-0326-4463-b2cd-f4fadbe0774c%40googlegroups.com.

Reply via email to