From 421616bfdbbd58cf364c3198257f18773e1704ea Mon Sep 17 00:00:00 2001 From: Eugene Tkachenko Date: Thu, 1 Aug 2024 20:42:18 -0600 Subject: [PATCH] Fix readme and instructions --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a619b11..262a3c2 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,14 @@ ### Video Instructions On [Youtube](https://youtu.be/KI_1-rUMjEI?si=EpXpMZncTNf53wxB&t=458 "YouTube.com") [![Video Instructions on](https://github.com/itkacher/OkHttpProfiler/blob/master/demo.png?raw=true)](https://youtu.be/KI_1-rUMjEI?si=EpXpMZncTNf53wxB&t=458 "YouTube.com") +The [OkHttp Profiler plugin](https://plugins.jetbrains.com/plugin/11249-okhttp-profiler "OkHttp Profiler") can show requests from the OkHttp library directly in the Android Studio tool window. +It supports the OkHttp v3 (http://square.github.io/okhttp/) and the Retrofit v2 (https://square.github.io/retrofit/) + +You can **debug OkHttp request** or response headers, inspect the JSON as a tree, as a plain text etc. And you can easily **create a Java/Kotlin model from the data**. +Just click the right mouse button on a root element of the tree (or any other), choose Java or Kotlin, and select a folder for a new file in the project. + +### Installation + 1. Install AndroidStudio Plugin plugin: [OkHttp Profiler plugin](https://plugins.jetbrains.com/plugin/11249-okhttp-profiler "OkHttp Profiler") 2. Add library to app `build.gradle` file (module level): @@ -45,7 +53,15 @@ implementation("io.nerdythings:okhttp-profiler:1.1.1") ## OkHttp Request Modifier Android Library -Installation: +Request Modifier is a new Android library designed to provide developers with an easy way to +customize HTTP responses. +By adding this library into your project, you gain the ability to modify response bodies and +response codes dynamically. + +| | | +|----------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------| + +### Installation 1. Add libraries to app `build.gradle` file (module level): ```kotlin