Http
Thin java.net.http.HttpClient wrapper at the Kyo effect boundary, kept deliberately instead of migrating to kyo-http's own client.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Http.type
Members list
Type members
Classlikes
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BinaryTransport.type
Separate from Transport on purpose: every text caller relies on Response.body being decoded as UTF-8 by HttpClient; re-deriving it from bytes would risk corrupting accented responses.
Separate from Transport on purpose: every text caller relies on Response.body being decoded as UTF-8 by HttpClient; re-deriving it from bytes would risk corrupting accented responses.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
What a binary response is — the raw bytes, never decoded as text.
What a binary response is — the raw bytes, never decoded as text.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
What a transport returns — just the two things every caller here reads.
What a transport returns — just the two things every caller here reads.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Binary GET (PDF bulletins, MIP-0031), never text-decoded.
Binary GET (PDF bulletins, MIP-0031), never text-decoded.
Attributes
headers: e.g. an API key that must not go in the URL.
headers: e.g. an API key that must not go in the URL.
Attributes
Raw-binary POST — for APIs that take the payload (e.g. image bytes) as the body, not JSON.
Raw-binary POST — for APIs that take the payload (e.g. image bytes) as the body, not JSON.
Attributes
application/x-www-form-urlencoded POST — Overpass's query API and Telegram's Bot API both accept this for their respective single-field payloads.
application/x-www-form-urlencoded POST — Overpass's query API and Telegram's Bot API both accept this for their respective single-field payloads.
Attributes
application/json POST with arbitrary extra headers (e.g. Authorization: Bearer ...) — used by both llm clients.
application/json POST with arbitrary extra headers (e.g. Authorization: Bearer ...) — used by both llm clients.
Attributes
Raw-binary PUT — MLflow's artifact-store proxy (PUT .../mlflow-artifacts/artifacts/).
Raw-binary PUT — MLflow's artifact-store proxy (PUT .../mlflow-artifacts/artifacts/).
Attributes
Test seam for getBytes, mirroring withTransport — replay a fixture PDF/binary by URL.
Test seam for getBytes, mirroring withTransport — replay a fixture PDF/binary by URL.
Attributes
Test seam: runs body with t installed, restoring the previous transport afterwards.
Test seam: runs body with t installed, restoring the previous transport afterwards.
Attributes
Concrete fields
Statuses worth another attempt — a rate limit or an overloaded/absent upstream, never a client error: 429, 502, 503, 504.
Statuses worth another attempt — a rate limit or an overloaded/absent upstream, never a client error: 429, 502, 503, 504.