Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kingreatwill/Ocelot.GrpcHttpGateway
Ocelot.GrpcHttpGateway
https://github.com/kingreatwill/Ocelot.GrpcHttpGateway
grpc-gateway grpc2http ocelot
Last synced: about 2 months ago
JSON representation
Ocelot.GrpcHttpGateway
- Host: GitHub
- URL: https://github.com/kingreatwill/Ocelot.GrpcHttpGateway
- Owner: kingreatwill
- License: mit
- Created: 2018-08-31T02:23:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T09:29:10.000Z (about 2 years ago)
- Last Synced: 2024-05-21T13:03:58.008Z (7 months ago)
- Topics: grpc-gateway, grpc2http, ocelot
- Language: C#
- Size: 22.8 MB
- Stars: 93
- Watchers: 6
- Forks: 24
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ocelot - grpc service gateway used ocelot
README
# Ocelot.GrpcHttpGateway
grpc service gateway used ocelot> master not available ,see https://github.com/kingreatwill/Ocelot.GrpcHttpGateway/tree/v0.0.1
## What functions does he have?
* load .dll files
* load proto files
* support header
* support unary,client streaming, server streaming, duplex streaming## Getting Started
* cd samples\OcelotGateway and dotnet run
* cd samples\Examples.GrpcServer and dotnet run
* copy Examples.GrpcModels.dll to samples\OcelotGateway\bin\Debug\netcoreapp2.1\plugins
* curl http://localhost:5000/grpc/PLAYERSEARCH/SEARCHTEAM
* curl http://localhost:5000/grpc/PLAYERSEARCH/SearchPlayer_ServerStream