fetcher/xmpp

Members

# (inner, constant) timeout :number

The request's timeout value in milliseconds

Type:
  • number

Methods

# (async, static) fn(data, opts) → {object}

Execute a fetch request

Parameters:
Name Type Description
data object

Data used in the request

Properties
Name Type Description
id string

The identifier of the targeted account

field string

The vCard field to return (should be "note")

opts object

Options used to enable the request

Properties
Name Type Description
claims.xmpp.service string

The server hostname on which the library can log in

claims.xmpp.username string

The username used to log in

claims.xmpp.password string

The password used to log in

Returns:
Type
object