Gjsify LogoGjsify Logo

Hierarchy

  • URL

Index

Constructors

  • new URL(url_string: 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
  • get_param(name: string): string
  • hash(): number
  • new_with_base(url_string: string): URL
  • set_authmech(authmech: string): void
  • set_fragment(fragment: string): void
  • set_host(host: string): void
  • set_param(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

  • set_path(path: string): void
  • set_port(port: number): void
  • set_protocol(protocol: string): void
  • set_query(query: string): void
  • set_user(user: string): void
  • addrspec_end(in_: string, pos: string, inend: string, match: UrlMatch): boolean
  • addrspec_start(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

  • decode_path(path: string): string
  • encode(part: string, escape_extra: 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

    • escape_extra: string

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

    Returns string

  • file_end(in_: string, pos: string, inend: string, match: UrlMatch): boolean
  • file_start(in_: string, pos: string, inend: string, match: UrlMatch): boolean
  • new(url_string: string): URL
  • web_end(in_: string, pos: string, inend: string, match: UrlMatch): boolean
  • web_start(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