libhv icon indicating copy to clipboard operation
libhv copied to clipboard

Missing header file after install

Open teson2000 opened this issue 6 months ago • 1 comments

From latest repo, I try to follow the example of https://github.com/ithewei/libhv/blob/master/examples/http_server_test.cpp

using: #include "hv/HttpContext.h" #include "hv/HttpServer.h" #include "hv/hasync.h" // import hv::async #include "hv/hthread.h" // import hv_gettid

getting snuggles as: HttpContextPtr is unknown

here's no http_context.h to add, in either repo/headers or /usr/local/include/hv

Thanks.

teson2000 avatar Jun 07 '25 07:06 teson2000

HttpContextPtr defined in HttpContext.h https://github.com/ithewei/libhv/blob/41f679e0c7050ddd9f45d48275ab6cdfc940558e/http/server/HttpContext.h#L211

ithewei avatar Jun 09 '25 04:06 ithewei