UserAgent

class UserAgent

A plugin that adds a User-Agent header to all requests.

Types

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

Properties

Link copied to clipboard
val agent: String

a User-Agent header value.