2023年7月31日

摘要: RESTFUL是一种网络应用程序的设计风格和开发方式,基于HTTP,可以使用XML格式定义或JSON格式定义。RESTFUL适用于移动互联网厂商作为业务接口的场景,实现第三方OTT调用移动网络资源的功能,动作类型为新增、变更、删除所调用资源 阅读全文
posted @ 2023-07-31 23:56 lydstory 阅读(16) 评论(0) 推荐(0)
摘要: seafile seafile seafile 开源网盘 【山大智云】SeafileServer源码分析之Server核心服务_.d_p.的博客-CSDN博客 seafile/lib/utils.h at master · haiwen/seafile (github.com) 阅读全文
posted @ 2023-07-31 23:45 lydstory 阅读(17) 评论(0) 推荐(0)
摘要: rocksdb rocksdb rocksdb 阅读全文
posted @ 2023-07-31 20:02 lydstory 阅读(12) 评论(0) 推荐(0)
摘要: Libevhtp (evhttp) 是一个 libevent 的 HTTP API 一个更灵活的替代品-面圈网 (mianshigee.com) 阅读全文
posted @ 2023-07-31 19:38 lydstory 阅读(169) 评论(0) 推荐(0)
摘要: xhttpcache/common/xevHtpdBase.cpp at f1dc8df482aac98f0c3edf9e7fbad478f40f8af2 · 0xsky/xhttpcache (github.com) xhttpcache 使用详细说明_阔野嘹歌的博客-CSDN博客 阅读全文
posted @ 2023-07-31 19:07 lydstory 阅读(17) 评论(0) 推荐(0)
摘要: 使用libevent evhttp做服务器提供文件上传、下载、查询功能_libevent 文件传输_小小码农Come on的博客-CSDN博客 阅读全文
posted @ 2023-07-31 18:20 lydstory 阅读(110) 评论(0) 推荐(0)
摘要: winhttp+SSL POST上传文件问题?(有源码)-CSDN社区 阅读全文
posted @ 2023-07-31 17:46 lydstory 阅读(16) 评论(0) 推荐(0)
摘要: 要使用libevhtp实现大文件上传功能,你可以使用libevhtp的POST请求处理器,并通过分块上传的方式来处理大文件上传。以下是一个示例代码: cpp | #include <iostream> #include <fstream> #include <evhtp/evhtp.h> const 阅读全文
posted @ 2023-07-31 13:50 lydstory 阅读(43) 评论(0) 推荐(0)
摘要: evhttp处理POST请求的技巧 - 爱码网 (likecs.com) evhttp是libevent提供的一个轻量级的基于消息驱动的HTTP Server,详细的资料可以参考libevent的主页:http://monkey.org/~provos/libevent/ ,本文主要描述如何处理PO 阅读全文
posted @ 2023-07-31 13:47 lydstory 阅读(141) 评论(0) 推荐(0)
摘要: std::string strExtInfo ="sfdfsdffffffffffsfdfdf"; if (WinHttpSendRequest(hConnect, L"Content-Type: application/octet-stream", -1L, WINHTTP_NO_REQUEST_ 阅读全文
posted @ 2023-07-31 03:55 lydstory 阅读(117) 评论(0) 推荐(0)
摘要: #include <Windows.h> #include <winhttp.h> #include <iostream> #include <fstream> #pragma comment(lib, "winhttp.lib") void SendFileToServer(const std:: 阅读全文
posted @ 2023-07-31 03:48 lydstory 阅读(101) 评论(0) 推荐(0)
摘要: struct evhttp_request结构体定义了HTTP请求的各个字段,如请求行、请求头、请求正文等。 struct evhttp_request { int major; // 主版本号 int minor; // 次版本号 enum evhttp_cmd_type type; // 请求方 阅读全文
posted @ 2023-07-31 02:58 lydstory 阅读(24) 评论(0) 推荐(0)
摘要: #include <Windows.h> #include <winhttp.h> #include <iostream> #include <fstream> #pragma comment(lib, "winhttp.lib") void SendFileToServer(const std:: 阅读全文
posted @ 2023-07-31 02:46 lydstory 阅读(94) 评论(0) 推荐(0)
摘要: libevent(17)evhttp的API及server端代码 (xjx100.cn) 阅读全文
posted @ 2023-07-31 01:30 lydstory 阅读(20) 评论(0) 推荐(0)
摘要: #pragma once #include "evpp/inner_pre.h" #include "evpp/slice.h" #include "evpp/timestamp.h" #include <map> struct evhttp_request; namespace evpp { cl 阅读全文
posted @ 2023-07-31 00:40 lydstory 阅读(37) 评论(0) 推荐(0)

导航