master | dev (current) | |
---|---|---|
Travis CI | ||
AppVeyor | ||
Codecov |
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
)
git clone --recursive https://github.com/Good-Pudge/okhttp-fork.git
cd okhttp-fork
mkdir build
cd build
cmake ..
cmake --build . --target install
CMAKE_INSTALL_PREFIX
- installation path that containinclude/ohf
andlib
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.
- 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
- namespace
ssl
- Context
- Initializer
- Socket
- SSL
- Challenge
- CipherSuite
- Exception
- namespace
tcp
- Server
- Connection
- Iterator
- Socket
- StreamBuf
- SSLServer (extends Server)
- SSLSocket (extends Socket)
- Server
- namespace
udp
- Socket
- IOStreamBuf
- InetAddress
- TimeUnit
- Exception
OkHttp fork distribute with an Apache 2.0 License. See LICENSE.md
and NOTICE.md
for more info.