# Class type Http_client.key

    class type key = object .. end

A `key` is a user/password combination for a certain realm

    method user : string

The user name

    method password : string

The password in cleartext

    method realm : string

The realm

    method domain : string list

The domain URIs defining the protection space. The domain URIs are absolute URIs. The list must not be empty for content accesses. For proxy keys the list must be empty.

Normally, this is just a list with one element. The URI must include the protocol scheme, the host name, and "/" as path. The port number is optional. Example: "http://localhost/". If the key is applicable to all domains, set this to `"*"`.