zio.http
Members list
Type members
Classlikes
Attributes
- Companion
- class
- Source
- Body.scala
- Supertypes
- Self type
-
Body.type
HTTP message body backed by a Stream[Nothing, Byte].
HTTP message body backed by a Stream[Nothing, Byte].
Body is a thin wrapper around a pull-based byte stream and a content type. All optimization intelligence (known chunk, known length) lives in the underlying Stream via its knownChunk and knownLength metadata APIs.
Value parameters
- contentType
-
the MIME content type of this body
- stream
-
the underlying byte stream
Attributes
- Companion
- object
- Source
- Body.scala
- Supertypes
Attributes
- Companion
- class
- Source
- Boundary.scala
- Supertypes
- Self type
-
Boundary.type
Attributes
- Companion
- object
- Source
- Boundary.scala
- Supertypes
This object was generated by sbt-buildinfo.
This object was generated by sbt-buildinfo.
Attributes
- Source
- BuildInfo.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
BuildInfo.type
Attributes
- Companion
- class
- Source
- Charset.scala
- Supertypes
- Self type
-
Charset.type
Attributes
- Companion
- object
- Source
- Charset.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- object
- Source
- ContentType.scala
- Supertypes
Attributes
- Companion
- class
- Source
- ContentType.scala
- Supertypes
- Self type
-
ContentType.type
Attributes
- Source
- Cookie.scala
- Supertypes
- Self type
-
Cookie.type
Attributes
- Companion
- trait
- Source
- Cookie.scala
- Supertypes
- Self type
-
CookiePriority.type
Represents the Priority attribute of a Set-Cookie header.
Represents the Priority attribute of a Set-Cookie header.
Supported values are Low, Medium, and High, which render directly as the corresponding Priority attribute values.
Attributes
- Companion
- object
- Source
- Cookie.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- object
- Source
- Form.scala
- Supertypes
Attributes
- Companion
- class
- Source
- Form.scala
- Supertypes
- Self type
-
Form.type
Attributes
- Companion
- trait
- Source
- FormField.scala
- Supertypes
- Self type
-
FormField.type
Attributes
- Companion
- trait
- Source
- Header.scala
- Supertypes
- Self type
-
Header.type
Attributes
- Companion
- object
- Source
- Header.scala
- Supertypes
- Known subtypes
-
class HxBoostedclass HxCurrentUrlclass HxHistoryRestoreRequestclass HxLocationclass HxPromptclass HxPushUrlclass HxRedirectclass HxRefreshclass HxReplaceUrlclass HxRequestclass HxReselectclass HxReswapclass HxRetargetclass HxTargetIdclass HxTriggerAfterSettleclass HxTriggerAfterSwapclass HxTriggerHeaderclass HxTriggerIdclass HxTriggerNameclass Accepttrait AcceptEncodingclass Anyclass Brclass Compressclass Deflateclass GZipclass Identityclass Multipleclass AcceptLanguageclass AcceptPatchtrait AcceptRangesobject Bytesobject None_trait AccessControlAllowOriginobject Allclass Specificclass AccessControlMaxAgeclass Ageclass Allowtrait Authorizationclass Basicclass Bearerclass Digestclass Unparsedtrait CacheControlobject Immutableclass MaxAgeclass MaxStaleclass MinFreshclass Multipleobject MustRevalidateobject MustUnderstandobject NoCacheobject NoStoreobject NoTransformobject OnlyIfCachedobject Privateobject ProxyRevalidateobject Publicclass SMaxAgeclass StaleIfErrorclass StaleWhileRevalidateclass ClearSiteDatatrait Connectionobject Closeobject KeepAliveclass Otherclass ContentBasetrait ContentDispositionclass Attachmentclass FormDataclass Inlinetrait ContentEncodingobject Brobject Compressobject Deflateobject GZipobject Identityclass Multipleclass ContentLanguageclass ContentLengthclass ContentLocationclass ContentMd5class ContentRangeclass ContentSecurityPolicytrait ContentTransferEncodingobject Base64object Binaryobject EightBitobject QuotedPrintableobject SevenBitclass ContentTypeclass CookieHeaderclass Customtrait DNTobject TrackingAllowedobject TrackingNotAllowedobject Unsetclass Dateclass ETagclass Expectclass Expiresclass Forwardedclass Fromclass Hosttrait IfMatchobject Anyclass ETagsclass IfModifiedSincetrait IfNoneMatchobject Anyclass ETagsclass IfRangeclass IfUnmodifiedSinceclass LastModifiedclass Linkclass Locationclass MaxForwardstrait Originobject Null_class Valueclass Pragmaclass ProxyAuthenticatetrait ProxyAuthorizationclass Basicclass Bearerclass Digestclass Unparsedclass Rangeclass Refererclass RetryAfterclass SecWebSocketAcceptclass SecWebSocketExtensionsclass SecWebSocketKeyclass SecWebSocketLocationclass SecWebSocketOriginclass SecWebSocketProtocolclass SecWebSocketVersionclass Serverclass SetCookieHeaderclass Teclass Trailertrait TransferEncodingobject Chunkedobject Compressobject Deflateobject GZipobject Identityclass Multipleclass Upgradeclass UpgradeInsecureRequestsclass UserAgenttrait Varyobject Anyclass Headersclass Viaclass WWWAuthenticatetrait XFrameOptionsobject Denyobject SameOriginclass XRequestedWithShow all
Attributes
- Companion
- class
- Source
- Headers.scala
- Supertypes
- Self type
-
Headers.type
Immutable collection of HTTP headers, backed by parallel arrays.
Immutable collection of HTTP headers, backed by parallel arrays.
Header names are stored pre-lowercased for case-insensitive matching. Multiple headers with the same name are allowed (multi-value). The parsed array is populated lazily on typed get calls. The cache is an optimization only: duplicate benign parses are possible if the same Headers is read concurrently.
Attributes
- Companion
- object
- Source
- Headers.scala
- Supertypes
Attributes
- Companion
- object
- Source
- Headers.scala
- Supertypes
Attributes
- Companion
- class
- Source
- Headers.scala
- Supertypes
- Self type
-
HeadersBuilder.type
HTTP request method as defined by RFC 9110.
HTTP request method as defined by RFC 9110.
Each method has a unique ordinal for efficient array-based dispatch.
Attributes
- Companion
- object
- Source
- Method.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- class
- Source
- Method.scala
- Supertypes
- Self type
-
Method.type
Decoded URL path, stored as individual decoded segments.
Decoded URL path, stored as individual decoded segments.
Segments are stored without percent-encoding; use encode to produce a percent-encoded path string and render for the decoded form. Parse already-encoded paths with Path.fromEncoded.
Attributes
- Companion
- object
- Source
- Path.scala
- Supertypes
Attributes
- Companion
- class
- Source
- Path.scala
- Supertypes
- Self type
-
Path.type
RFC 3986 percent-encoding utilities.
RFC 3986 percent-encoding utilities.
Provides component-specific encoding via ComponentType variants (PathSegment, QueryKey, QueryValue, Fragment, UserInfo), each allowing a different set of unescaped characters as defined by the RFC. Non-ASCII characters are first encoded to UTF-8 bytes, then each byte is percent-encoded.
decode converts percent-encoded triplets back to characters; invalid or incomplete percent sequences are passed through unchanged.
Note: this encoder does '''not''' use application/x-www-form-urlencoded rules (spaces are encoded as %20, never as +).
Attributes
- Source
- PercentEncoder.scala
- Supertypes
- Self type
-
PercentEncoder.type
Attributes
- Companion
- class
- Source
- QueryParams.scala
- Supertypes
- Self type
-
QueryParams.type
Immutable multi-map of query parameters, backed by parallel arrays.
Immutable multi-map of query parameters, backed by parallel arrays.
Keys may appear at most once; each key maps to one or more values stored as a Chunk[String]. Values are stored decoded; use encode to produce a percent-encoded query string and QueryParams.fromEncoded to parse one.
Attributes
- Companion
- object
- Source
- QueryParams.scala
- Supertypes
Attributes
- Companion
- object
- Source
- QueryParams.scala
- Supertypes
Attributes
- Companion
- class
- Source
- QueryParams.scala
- Supertypes
- Self type
-
QueryParamsBuilder.type
Attributes
- Companion
- class
- Source
- Request.scala
- Supertypes
- Self type
-
Request.type
Immutable HTTP request consisting of method, URL, headers, body, and protocol version.
Immutable HTTP request consisting of method, URL, headers, body, and protocol version.
Convenience accessors path and queryParams delegate to the url field.
Attributes
- Companion
- object
- Source
- Request.scala
- Supertypes
Attributes
- Source
- Cookie.scala
- Supertypes
Immutable HTTP response consisting of status, headers, body, and protocol version.
Immutable HTTP response consisting of status, headers, body, and protocol version.
Attributes
- Companion
- object
- Source
- Response.scala
- Supertypes
Attributes
- Companion
- class
- Source
- Response.scala
- Supertypes
- Self type
-
Response.type
Cookie emitted in a Set-Cookie response header.
Cookie emitted in a Set-Cookie response header.
The expires field is rendered verbatim as the Expires attribute and is expected to already be in the HTTP-date format used by RFC 6265, such as Wed, 21 Oct 2026 07:28:00 GMT. The priority field maps to the non-RFC but commonly used Priority attribute, and isPartitioned maps to the Partitioned attribute. Rendering validates the cookie name and unquoted cookie value and rejects SameSite=None unless Secure is also set.
Attributes
- Source
- Cookie.scala
- Supertypes
Attributes
- Companion
- trait
- Source
- Cookie.scala
- Supertypes
- Self type
-
SameSite.type
Attributes
- Companion
- trait
- Source
- Scheme.scala
- Supertypes
- Self type
-
Scheme.type
Attributes
- Companion
- class
- Source
- ServerSentEvent.scala
- Supertypes
- Self type
-
ServerSentEvent.type
A Server-Sent Event (SSE) envelope carrying typed data.
A Server-Sent Event (SSE) envelope carrying typed data.
The payload A is rendered into one or more data: lines via an SseDataEncoder. The remaining fields (event, id, retry) are SSE metadata owned by the envelope itself.
Attributes
- Companion
- object
- Source
- ServerSentEvent.scala
- Supertypes
Attributes
- Companion
- trait
- Source
- ServerSentEvent.scala
- Supertypes
- Self type
-
SseDataEncoder.type
Encodes typed SSE payloads into one or more data: lines.
Encodes typed SSE payloads into one or more data: lines.
Attributes
- Companion
- object
- Source
- ServerSentEvent.scala
- Supertypes
Attributes
- Source
- Status.scala
- Supertypes
- Self type
-
Status.type
Pure, immutable URL representation.
Pure, immutable URL representation.
Path segments are stored in decoded form and percent-encoded on output via encode. parse returns Left on invalid input (empty string, malformed port, etc.). Use / to append a path segment and ?? to add a query parameter. encode renders the full URL string with proper percent-encoding.
Attributes
Attributes
- Companion
- class
- Source
- Version.scala
- Supertypes
- Self type
-
Version.type
Types
Attributes
- Source
- Status.scala