mirror of
https://github.com/kataras/iris.git
synced 2025-03-16 00:36:27 +01:00
gif
parent
4c2f83dbc2
commit
ce77e1e8e4
|
@ -6,7 +6,7 @@ Iris and gRPC integration lives inside the [mvc](https://github.com/kataras/iris
|
||||||
|
|
||||||
Have you ever have difficulties converting your app or parts of it from HTTP to gGRPC or did you ever wish you had decent HTTP framework support as well for your gRPC services? Now, with Iris you have the best of two worlds. Without change a bit of your existing gRPC services code, you can register them as Iris HTTP routes through a Controller (your service struct value).
|
Have you ever have difficulties converting your app or parts of it from HTTP to gGRPC or did you ever wish you had decent HTTP framework support as well for your gRPC services? Now, with Iris you have the best of two worlds. Without change a bit of your existing gRPC services code, you can register them as Iris HTTP routes through a Controller (your service struct value).
|
||||||
|
|
||||||
[[../_assets/grpc-compatible-question.png]]
|

|
||||||
|
|
||||||
> Learn more about our conversation at: [https://github.com/kataras/iris/issues/1449\#issuecomment-623260695](https://github.com/kataras/iris/issues/1449#issuecomment-623260695)
|
> Learn more about our conversation at: [https://github.com/kataras/iris/issues/1449\#issuecomment-623260695](https://github.com/kataras/iris/issues/1449#issuecomment-623260695)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# MVC
|
# MVC
|
||||||
|
|
||||||
[[../_assets/web_mvc_diagram.png]]
|

|
||||||
|
|
||||||
Using Iris MVC for code reuse.
|
Using Iris MVC for code reuse.
|
||||||
|
|
||||||
|
|
|
@ -117,6 +117,6 @@ func handler(ctx iris.Context) {
|
||||||
|
|
||||||
**Result**
|
**Result**
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
That's all. As you've noticed, the client receives messages while loading. Check the next chapter (Server-Sent Events) to see an alternative way of sending messages to the client with connection-alive and loaded page.
|
That's all. As you've noticed, the client receives messages while loading. Check the next chapter (Server-Sent Events) to see an alternative way of sending messages to the client with connection-alive and loaded page.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user