Skip to content
πŸ–₯ This library display of traffics OkHttp in UI
Kotlin Java
Branch: master
Clone or download
Latest commit edc62a3 Jul 27, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets initial Jul 16, 2019
gradle/wrapper initial Jul 16, 2019
library-no-op initial Jul 16, 2019
library initial Jul 16, 2019
sample
.gitignore initial Jul 16, 2019
LICENSE Create LICENSE Jul 27, 2019
README.md initial Jul 16, 2019
build.gradle initial Jul 16, 2019
dependencies.gradle initial Jul 16, 2019
gradle.properties initial Jul 16, 2019
gradlew initial Jul 16, 2019
gradlew.bat initial Jul 16, 2019
settings.gradle initial Jul 16, 2019

README.md

Finch

Finch is an android library built on top of OkHttp3, which is responsible for intercepting all the network calls and for display in UI.

Can be plugged in to any app which uses okhttp in their networking stack.

Finch

Gradle Dependency

Add it in your root build.gradle at the end of repositories:

	allprojects {
		repositories {
			...
			maven { url "https://jitpack.io" }
		}
	}

Add the dependency:

	dependencies {
		debugImplementation 'com.github.kernel0x.finch:library:1.0.0'
		releaseImplementation 'com.github.kernel0x.finch:library-no-op:1.0.0'
	}

How to works

Create an instance of FinchInterceptor and add it to the method addInterceptor in building OkHttp client.

	OkHttpClient okHttpClient = new OkHttpClient.Builder()
		.addInterceptor(new FinchInterceptor(context))
		.build();

Releases

Checkout the Releases tab for all release info.

You can’t perform that action at this time.