API Docs for: 0.0.8
Show:

Url Class

Defined in: client/lib/url.js:5
Module: FxaRelierClient

Helpers functions to work with URLs

Methods

createQueryParam

(
  • key
  • value
)
String

Create a query parameter string from a key and value

Parameters:

  • key String
  • value Variant

Returns:

String:

URL safe serialized query parameter

objectToQueryString

(
  • obj Object
)
String

Create a query string out of an object.

Parameters:

  • obj Object Object

    to create query string from

Returns:

String:

URL safe query string