harbringer
0.1.0indexedHTTP request logger enabling storage, inspection, and export of network requests. Integrates seamlessly with OkHttp, yet compatible with any HTTP client.
16
Stars
—
Used by
dependents
—
Health
/ 100
HTTP request logger enabling storage, inspection, and export of network requests. Integrates seamlessly with OkHttp, yet compatible with any HTTP client.
Harbringer is an HTTP request logger. It can store your network requests and let you inspect or export them.
It supports OkHttp out of the box, but you can use it with any HTTP client.
To read more, please refer to the documentation.
For the changelog, see the releases page.
val harbringer = Harbringer(
storage = FileSystemHarbringerStorage(storageDirectory.toPath()),
maxRequests = 1000, // 1000 requests
maxDiskSize = 100 * 1024 * 1024, // 100MB
maxAge = 2.days,
)
val okHttpClient = OkHttpClient.Builder()
.addHarbringer(harbringer)
.build()
outputFile.sink().use { sink ->
harbringer.exportTo(sink)
}
For the full documentation see https://harbringer.ansman.se/
For detailed instructions, see the getting-started page.
dependencies {
implementation("se.ansman.harbringer:harbringer:0.1.0")
// If using okhttp
implementation("se.ansman.harbringer:harbringer-okhttp3:0.1.0")
}
This project is licensed under the Apache-2.0 license. See LICENSE for the full license.
Copyright 2025 Nicklas Ansman
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance the License.
You may obtain a copy of the License at
http:
Unless applicable law agreed to writing, software
distributed under the License distributed an BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express implied.
See the License the specific language governing permissions
limitations under the License.
Surfaced from shared tags and platforms — no rankings paid for.