Giter Club home page Giter Club logo

thwebservice's Introduction

THWebService是一个轻量级的网络访问管理类,对NSURLConnection进行封装,提供了get、post网络请求以及提供了文件的断点下载的简单接口(同步、异步、block)。另外将网络请求中常用的HASH算法、HMAC等算法的封装,如果你开发的软件经常与网络访问,或许这些代码将会为你带来不少的便利。

注:代码采用ARC。

1.1版本
添加了THDispatchQueue,GCD实现的一个多线程并发控制的队列。
添加了THWebDataCache,非常简单的缓存组件。

1.0版本:

1.对get、post(文件上传)、文件下载的接口的封装;
2.支持同步、异步、block三种调用方式;
3.对常用HASH及HMac算法的封装(支持对Data和文件两种方式)。

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.