Gjsify LogoGjsify Logo

Hierarchy

  • URL

Index

Constructors

  • new URL(urlString: string): URL

Properties

authmech: string
fragment: string
host: string
params: GLib.Data
path: string
port: number
protocol: string
query: string
user: string
name: string

Methods

  • equal(u2: URL): boolean
  • free(): void
  • getParam(name: string): string
  • Get the value of the specified param on the URL.

    Parameters

    • name: string

      name of the param

    Returns string

  • hash(): number
  • newWithBase(urlString: string): URL
  • Parses url_string relative to base.

    Parameters

    • urlString: string

      the URL

    Returns URL

  • setAuthmech(authmech: string): void
  • Set the authmech of a #CamelURL.

    Parameters

    • authmech: string

      authentication mechanism

    Returns void

  • setFragment(fragment: string): void
  • Set the fragment of a #CamelURL.

    Parameters

    • fragment: string

      url fragment

    Returns void

  • setHost(host: string): void
  • Set the hostname of a #CamelURL.

    Parameters

    • host: string

      hostname

    Returns void

  • setParam(name: string, value: string): void
  • Set a param on the #CamelURL.

    Parameters

    • name: string

      name of the param to set

    • value: string

      value of the param to set

    Returns void

  • setPath(path: string): void
  • Set the path component of a #CamelURL.

    Parameters

    • path: string

      path

    Returns void

  • setPort(port: number): void
  • Set the port on a #CamelURL.

    Parameters

    • port: number

      port

    Returns void

  • setProtocol(protocol: string): void
  • Set the protocol of a #CamelURL.

    Parameters

    • protocol: string

      protocol schema

    Returns void

  • setQuery(query: string): void
  • Set the query of a #CamelURL.

    Parameters

    • query: string

      url query

    Returns void

  • setUser(user: string): void
  • Set the user of a #CamelURL.

    Parameters

    • user: string

      username

    Returns void

  • addrspecEnd(in_: string, pos: string, inend: string, match: UrlMatch): boolean
  • addrspecStart(in_: string, pos: string, inend: string, match: UrlMatch): boolean
  • decode(part: string): void
  • %-decodes the passed-in URL in place. The decoded version is never longer than the encoded version, so there does not need to be any additional space at the end of the string.

    Parameters

    • part: string

      a URL part

    Returns void

  • decodePath(path: string): string
  • encode(part: string, escapeExtra: string): string
  • This %-encodes the given URL part and returns the escaped version in allocated memory, which the caller must free when it is done.

    Parameters

    • part: string

      a URL part

    • escapeExtra: string

      additional characters beyond " "%#<>{}|^[]`" to escape (or %NULL)

    Returns string

  • fileEnd(in_: string, pos: string, inend: string, match: UrlMatch): boolean
  • fileStart(in_: string, pos: string, inend: string, match: UrlMatch): boolean
  • new(urlString: string): URL
  • webEnd(in_: string, pos: string, inend: string, match: UrlMatch): boolean
  • webStart(in_: string, pos: string, inend: string, match: UrlMatch): boolean

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method