cinatra icon indicating copy to clipboard operation
cinatra copied to clipboard

modern c++(c++20), cross-platform, header-only, easy to use http framework

Results 107 cinatra issues
Sort by recently updated
recently updated
newest added

1. utils.hpp line:471 **get_cookies_map()** 2. utils.hpp line:254 **from_urldecode()** 3. uuid.h line:775 **to_string()** 4. uuid.h line:782 **to_wstring()** 以上都被定义为全局函数。 之所以会发现这个问题,是我在对cinatra进行封装时发现的。 pass以上问题之后,我又发现session_manager的成员变量也会出现重定义错误。 这里我可以通过注释掉成员变量的定义,取而代之在cpp文件中定义来解决。 但不知道有没有更好的办法(我反正是没想出来 = = ` session_manager{ ...... private: static std::map map_;...

CMake中 ``` install(TARGETS cinatra DESTINATION include) ``` 这里是不是应该把头文件安装过去,而不是可执行文件.

intellij idea如何创建c/c++ project,有什么plugin吗?高手指教下

enhancement

能否新增一个功能,指定对一个接口进行限速,或者指定对一个session进行限速,或者对所有请求设定io最大传输速度?

enhancement

绑定其他IP地址没有问题,经过排查发现是端口被其他程序占用了,但是库中不给出明确提示,这可能不算是个Bug,但是期望给出明确的错误起因。

enhancement

I think we should enable CI to help us check some code style, unit tests, etc. This is very useful tool for us when others request a PR or push...

enhancement

1. It's necessary for users to build this project with only one command, like `sh build.sh` or `cmake` or others. We should make the building-processes more simple. So, could we...

enhancement

server 最好能传入 io_context 的引用,方便和其他基于 asio 的库集成共用一个 io_context.