Pumba (Pumba v0.0.2) View Source

Documentation for Pumba

Link to this section Summary

Functions

Get current state.

Get list of user agents for browser

Fetch and load user agents for a given browser.

Fetch random user agent.

Check if user agents for a given browser were loaded

Override default client with your own client.

Link to this section Functions

Specs

all() :: map()

Get current state.

Specs

get(String.t()) :: [String.t()]

Get list of user agents for browser

Specs

load(String.t()) :: :ok

Fetch and load user agents for a given browser.

Specs

random() :: String.t() | nil

Fetch random user agent.

Specs

ready?(String.t()) :: boolean()

Check if user agents for a given browser were loaded

Specs

set_client(module()) :: :ok

Override default client with your own client.