Object/Trait

io.scalajs.nodejs.querystring

QueryString

Related Docs: trait QueryString | package querystring

Permalink

object QueryString extends Object with QueryString

Query String

Annotations
@native() @JSImport( "querystring" , JSImport.Namespace )
See also

https://nodejs.org/api/querystring.html

Linear Supertypes
QueryString, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryString
  2. QueryString
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def escape(str: String): String

    Permalink

    The querystring.escape() method performs URL percent-encoding on the given str in a manner that is optimized for the specific requirements of URL query strings.

    The querystring.escape() method performs URL percent-encoding on the given str in a manner that is optimized for the specific requirements of URL query strings.

    The querystring.escape() method is used by querystring.stringify() and is generally not expected to be used directly. It is exported primarily to allow application code to provide a replacement percent-encoding implementation if necessary by assigning querystring.escape to an alternative function.

    str

    the given string to escape

    Definition Classes
    QueryString
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def parse(str: String, sep: String = js.native, eq: String = js.native, options: |[QueryDecodeOptions, RawOptions] = js.native): Dictionary[String]

    Permalink

    The querystring.parse() method parses a URL query string (str) into a collection of key and value pairs.

    The querystring.parse() method parses a URL query string (str) into a collection of key and value pairs.

    str

    The URL query string to parse

    sep

    The substring used to delimit key and value pairs in the query string. Defaults to '&'.

    eq

    The substring used to delimit keys and values in the query string. Defaults to '='.

    options

    The given options

    returns

    a mapping of the key-value pairs

    Definition Classes
    QueryString
  19. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  20. def stringify(obj: Any, sep: String = js.native, eq: String = js.native, options: |[QueryEncodeOptions, RawOptions] = js.native): String

    Permalink

    The querystring.stringify() method produces a URL query string from a given obj by iterating through the object's "own properties".

    The querystring.stringify() method produces a URL query string from a given obj by iterating through the object's "own properties".

    obj

    The object to serialize into a URL query string

    sep

    The substring used to delimit key and value pairs in the query string. Defaults to '&'.

    eq

    The substring used to delimit keys and values in the query string. Defaults to '='.

    options

    The given options

    Definition Classes
    QueryString
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. def unescape(str: String): String

    Permalink

    The querystring.unescape() method performs decoding of URL percent-encoded characters on the given str.

    The querystring.unescape() method performs decoding of URL percent-encoded characters on the given str.

    The querystring.unescape() method is used by querystring.parse() and is generally not expected to be used directly. It is exported primarily to allow application code to provide a replacement decoding implementation if necessary by assigning querystring.unescape to an alternative function.

    By default, the querystring.unescape() method will attempt to use the JavaScript built-in decodeURIComponent() method to decode. If that fails, a safer equivalent that does not throw on malformed URLs will be used.

    str

    the given string to unescape

    Definition Classes
    QueryString
  25. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from QueryString

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped