Changelog
- Fixed bytes http encoding
- Optimize decoding responses bytes
- Added InetSocketAddress attributes for http-request
- Added HttpAddressUtil
- Small code refactoring and improving its readability.
Dependency
To use the data library in your project, you need to prescribe a dependency.
Below is an example of how to use the dependency for different build systems:
Maven
Dependency block for Maven structure project:
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<dependency>
<groupId>com.github.MikhailSterkhov</groupId>
<artifactId>jrest2</artifactId>
<version>1.4</version>
</dependency>
Gradle
Dependency block for Gradle structure project:
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
compileOnly 'com.github.MikhailSterkhov:jrest2:1.4'