Registry / networking / finagle-httpx-2-10

finagle-httpx-2-10

JSON →
library6.29.0javamavenunverified

Provides HTTP/1.1 and HTTP/2 client and server support for Finagle, a fault-tolerant RPC system.

networking
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

com.twitter.finagle.httpx.Http

Minimal usage of Finagle HTTPX client to make a request.

import com.twitter.finagle.httpx.Http; import com.twitter.finagle.Service; import com.twitter.finagle.http.Request; import com.twitter.finagle.http.Response; import com.twitter.util.Await; public class Example { public static void main(String[] args) throws Exception { Service<Request, Response> client = Http.client().newService("localhost:8080"); Request request = Request.apply("/"); Response response = Await.result(client.apply(request)); System.out.println(response.getContentString()); } }
Debug
Known footguns
breakingThis package is for Scala 2.10 and may not be compatible with newer Scala versions.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
11 hits · last 30 days
claudebot
3
Resources