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.

<dependency> <groupId>com.twitter</groupId> <artifactId>finagle-httpx_2.10</artifactId> <version>6.29.0</version> </dependency>
INSTALL
IMPORT
SIG · FINAGLE-HTTPX-2-10
F
finagle-httpx-2-10
networkingjavav6.29.0
harness data pending
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.

Http
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 issues
breakingThis package is for Scala 2.10 and may not be compatible with newer Scala versions.
fix
Use a version targeting Scala 2.12 or 2.13 (e.g., com.twitter:finagle-httpx_2.12).
affects: <=6.29.0
Upgrade
Version history
6.29.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
OpenAI (training)
1
Resources
finagle-httpx-2-10 — mvn dependency:get finagle-httpx-2-10 · libregistry