UserAgent

class UserAgent(agent: String)

Default user-agent feature for HttpClient.

Constructors

Link copied to clipboard
fun UserAgent(agent: String)

Types

Link copied to clipboard
class Config(agent: String)
Link copied to clipboard
object Feature : HttpClientFeature<UserAgent.Config, UserAgent>

Properties

Link copied to clipboard
val agent: String

: value of user-agent header to set.