Giter VIP home page Giter VIP logo

julinus-li / httpspostclient Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qrsrjm/httpspostclient

0.0 0.0 0.0 23.44 MB

httpsPostClient,一个关于发送HTTS Post数据的基础库,即使用HTTP Post的方式发送用户数据,HTTP数据包经过了openssl加密。使用异步方式收发数据,linux环境,C++实现。

Shell 0.42% C 45.80% Makefile 2.27% Roff 41.90% C++ 2.67% Batchfile 0.15% Perl 4.25% DIGITAL Command Language 0.99% Objective-C 0.21% Assembly 1.04% XS 0.01% M4 0.16% eC 0.02% Emacs Lisp 0.01% HTML 0.01% Scheme 0.01% Prolog 0.09%

httpspostclient's Introduction

这是一个与变电产品部合作的项目,主要功能是实现https post功能,用于充电桩向web server请求数据,并接收响应数据。




///////////////////////////////////////////////////////////////////////////
使用方法:
1、进入openssl编译,libcrypto.a、libssl.a
2、进入httpspost编译,得到libhttpspost_arm.so
3、进入test编译,得到exsample_arm
4、把libhttpspost_arm.so和exsample_arm上传到终端
5、设置环境变量LD_LIBRARY_PATH
6、执行exsample_arm



/////////////////////////////////////////////////////////////////////////////
目录说明:

doc:
存放技术文档

openssl:
是openssl库文件,分为x86版和arm版,分别进入make即可得到libcrypto.a、libssl.a



httpspost:
是httpspost的源码,封装了库openssl,加上了HTTP头部,维护socket连接等。
进入目录,make,默认是编译arm版本,libhttpspost_arm.so
使用make CC=gcc,编译x86版本,libhttpspost_x86.so



test:
是测试代码,exsample.cpp
进入目录,make,默认是编译arm版本,exsample_arm
使用make CC=gcc,编译x86版本,exsample_x86


pakage:
是提供给变电部门的包,包括头文件以及动态库


curl:
是http库,但没用使用到,暂时存放,以备用
























httpspostclient's People

Contributors

qinwanlin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.