userver
userver copied to clipboard
Production-ready C++ Asynchronous Framework with rich functionality
Add support of using the same path for both http and ws. e.g. now `WebsocketHandlerBase::HandleRequestThrow` [here](https://github.com/userver-framework/userver/blob/develop/core/src/server/websocket/websocket_handler.cpp#L42) returns `server::handlers::ClientError()` for non-ws connection, but could call a new pure version of `Handle`....
Make the Form movable https://github.com/userver-framework/userver/blob/16b29d818616cbd7c2b3cffaa83b89f5b19008e4/core/include/userver/clients/http/form.hpp#L19-L22 Hold the curl::form by std::unique_ptr rather than by std::shared_ptr https://github.com/userver-framework/userver/blob/16b29d818616cbd7c2b3cffaa83b89f5b19008e4/core/include/userver/clients/http/form.hpp#L34-L37 Internal ticket: 4971
See https://userver.tech/d9/dde/pg_cache.html#pg_cc_cache_policy We need a way to say ```cpp // `Order by` clause of the query. // // Required: no static constexpr const char* kOrderBy = "id DESC, updated ASC";...
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/
The reverse iterators for arrays in `formats::yaml::Value` would be handy https://github.com/userver-framework/userver/blob/develop/shared/include/userver/formats/yaml/value.hpp Note that key in YAML are unordered, so there's no sence in making reverse iterators for keys. For an...
There is a very nice to have [PosgreCache component](https://github.com/userver-framework/userver/blob/develop/postgresql/include/userver/cache/base_postgres_cache.hpp#L376): one has to just make a policy of like 6 fields and everything auto-magically works. Implementing the same was attempted for...
With current log level INFO it produces too much noise: ``` tskv timestamp=2023-11-17T21:45:12.014288 level=INFO module=MakeQuerySpan ( userver/postgresql/src/storages/postgres/detail/connection_impl.cpp:594 ) db_statement=SELECT 1 AS ping db_type=postgres pg_conn_id=6 ```
Techniques are described at https://habr.com/ru/companies/yandex/articles/762678/ Internal ticket: 7677
Add some mechanism to pass arbitrary data from middleware to service methods in gRPC ___ gRPC middleware ```cpp const auto& token = context.GetCall().GetContext().client_metadata().find("token")->second; auto id = foo(token); // some middleware...
Please add an sample of authorization using `grpc` with `postgreSQL`, that's sample can show how to use `grpc` `metadata`, maybe `middlewares`