Skip to content
This repository was archived by the owner on Aug 23, 2018. It is now read-only.

ark0f/okhttp-fork

Repository files navigation

OkHttp fork for C++ License

master dev (current)
Travis CI Build status Build status
AppVeyor Build status Build status
Codecov Codecov master Codecov branch

Overview

Used libraries

Compilers

You can use any compiler that support full C++11 standard. These were tested by me and CI:

  • GCC >= 5
  • MSVC >= 2015
  • MinGW (7.2.0)
  • Clang (3.8 and Travis CI default version)

These compilers were tested and aren't supported:

  • GCC 4.9.2 (issue: std::get_time)
  • MSVC 2013 (issue: noexcept)

Installation

git clone --recursive https://github.com/Good-Pudge/okhttp-fork.git
cd okhttp-fork
mkdir build
cd build
cmake ..
cmake --build . --target install

CMake options

  • CMAKE_INSTALL_PREFIX - installation path that contain include/ohf and lib
  • BUILD_SHARED_LIBS (default: OFF) - build library as shared.
  • BUILD_TESTING (default: OFF) - build executable for tests.
  • BUILD_EXAMPLES (default: OFF) - build executables of examples.
  • ENABLE_DTLS (default: OFF, as WIP) - access to use DTLS components.

Original library components

  • Address
  • Authenticator
  • Cache
  • CacheControl
    • Builder
  • Call
    • Factory
  • Callback
  • CertificatePinner
    • Builder
  • Connection
  • ConnectionPool
  • ConnectionSpec
    • Builder
  • Cookie
    • Builder
  • CookieJar
  • Credentials
  • Dispatcher
  • DNS
  • EventListener
    • Factory
  • FormBody
    • Builder
  • Handshake
  • Headers
    • Iterator
    • Builder
  • HttpURL
    • Builder
  • Interceptor
    • Chain
  • MediaType
  • MultipartBody
    • Builder
    • Part
  • Client
    • Builder
  • Protocol
  • Request
    • Builder
  • RequestBody
  • Response
    • Builder
  • ResponseBody
    • StreamBuf
  • Route
  • WebSocket
    • Factory
    • Listener

Additional and moved components:

  • namespace ssl
    • Context
    • Initializer
    • Socket
    • SSL
    • Challenge
    • CipherSuite
    • Exception
  • namespace tcp
    • Server
      • Connection
      • Iterator
    • Socket
      • StreamBuf
    • SSLServer (extends Server)
    • SSLSocket (extends Socket)
  • namespace udp
    • Socket
  • IOStreamBuf
  • InetAddress
  • TimeUnit
  • Exception

License

OkHttp fork distribute with an Apache 2.0 License. See LICENSE.md and NOTICE.md for more info.

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •