pocketpy/docs/modules/libhv.md
2025-01-20 19:51:42 +08:00

612 B

icon label
package libhv

!!! This module is optional. Set option PK_BUILD_MODULE_LIBHV to ON in your CMakeLists.txt to enable it. !!!

libhv is a git submodule located at 3rd/libhv/libhv. If you cannot find it, please run the following command to initialize the submodule:

git submodule update --init --recursive

Simple bindings for libhv, which provides cross platform implementation of the following:

  • HTTP server
  • HTTP client
  • WebSocket server
  • WebSocket client

Source code

:::code source="../../include/typings/libhv.pyi" :::