UserAgent

zio.http.Header.UserAgent
See theUserAgent companion class
object UserAgent extends HeaderType

The "User-Agent" header field contains information about the user agent originating the request, which is often used by servers to help identify the scope of reported interoperability problems, to work around or tailor responses to avoid particular user agent limitations, and for analytics regarding browser or operating system use

Attributes

Companion
class
Source
Header.scala
Graph
Supertypes
trait Product
trait Mirror
trait HeaderType
class Object
trait Matchable
class Any
Show all
Self type
UserAgent.type

Members list

Type members

Classlikes

Attributes

Companion
trait
Source
Header.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait ProductOrComment

Attributes

Companion
object
Source
Header.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Comment
class Product

Types

override type HeaderValue = UserAgent

Attributes

Source
Header.scala

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

override def name: String

Attributes

Definition Classes
Source
Header.scala
def parse(userAgent: String): Either[String, UserAgent]

Attributes

Source
Header.scala
def render(userAgent: UserAgent): String

Attributes

Source
Header.scala

Inherited methods

Attributes

Inherited from:
HeaderType
Source
Header.scala

Attributes

Inherited from:
HeaderType
Source
Header.scala
override def toHeaders(value: HeaderValue): Headers

Attributes

Definition Classes
Inherited from:
HeaderType
Source
Header.scala