Go to file
Vasiliy Tolstov 5376c788db 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>
2021-01-16 00:45:10 +03:00
rpc_test.go api/handler/rpc: process all methods and merge url params to json body (#1427) 2021-01-16 00:45:10 +03:00
rpc.go api: add static router and improve path parser in rpc handler (#1437) 2021-01-16 00:45:10 +03:00
stream.go add websocket streaming to api rpc handler (#1326) 2021-01-16 00:45:10 +03:00