UserAgent

zio.http.model.headers.values.UserAgent$
See theUserAgent companion trait
object UserAgent

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:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

final case class Comment(comment: String) extends UserAgent

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait UserAgent
class Object
trait Matchable
class Any
final case class CompleteUserAgent(product: Product, comment: Option[Comment]) extends UserAgent

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait UserAgent
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
trait UserAgent
class Object
trait Matchable
class Any
Self type
final case class Product(name: String, version: Option[String]) extends UserAgent

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait UserAgent
class Object
trait Matchable
class Any

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fromUserAgent(userAgent: UserAgent): String
def toUserAgent(userAgent: String): UserAgent