micro/api/handler/rpc
Vasiliy Tolstov 3d7d5ce6b4
api: add static router and improve path parser in rpc handler (#1437)
* api: add static router and improve path parser in rpc handler

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* expose metadata context key to be able to get unmodified map keys

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* server/grpc: fix jsonpb codec for protobuf msg

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* api/handler/rpc: write 204 status code when rsp is nil

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* api/handler/rpc: add check for nil response for non javascript

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-03-30 09:04:59 +01:00
..
rpc_test.go api/handler/rpc: process all methods and merge url params to json body (#1427) 2020-03-27 07:59:31 +00:00
rpc.go api: add static router and improve path parser in rpc handler (#1437) 2020-03-30 09:04:59 +01:00
stream.go add websocket streaming to api rpc handler (#1326) 2020-03-10 15:21:43 +00:00