ResponseMetadata

sttp.model.ResponseMetadata
See theResponseMetadata companion object

Attributes

Companion
object
Graph
Supertypes
trait HasHeaders
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def statusText: String

Concrete methods

def is200: Boolean
def isClientError: Boolean
def isRedirect: Boolean
def isServerError: Boolean
def isSuccess: Boolean
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def contentLength: Option[Long]

Attributes

Inherited from:
HasHeaders
def contentType: Option[String]

Attributes

Inherited from:
HasHeaders
def cookies: Seq[Either[String, CookieWithMeta]]

Attributes

Inherited from:
HasHeaders
def header(h: String): Option[String]

Attributes

Inherited from:
HasHeaders
def headers(h: String): Seq[String]

Attributes

Inherited from:
HasHeaders
def headers: Seq[Header]

Attributes

Inherited from:
HasHeaders

Attributes

Inherited from:
HasHeaders