HttpResponse

zio.blocks.telemetry.otel.HttpResponse
final case class HttpResponse(statusCode: Int, body: Array[Byte], headers: Map[String, Seq[String]])

Response from an HTTP sender. Headers are stored with their original casing; lookups via firstHeader are case-insensitive. The body is the raw response bytes (may be empty).

Attributes

Source
HttpSender.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def firstHeader(name: String): Option[String]

Attributes

Source
HttpSender.scala

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala