目录 cpp-httplib 介绍 下载 服务器接口 Server Server类 Get() pattern handler Post() listen() host stop() Request类 字段 get_file_value() key 返回值 has_param() key get_param_value() key Response类 字段 set_content() content content-type set_header() get_header_value() name cpp-httplib 服务器接口 Server 在函数体内,我们可以通过两个对象来获取请求内容和构建响应 Request类 get_file_value() Response类