url_URL: {
    forceQuery?: boolean;
    fragment?: string;
    host?: string;
    omitHost?: boolean;
    opaque?: string;
    path?: string;
    rawFragment?: string;
    rawPath?: string;
    rawQuery?: string;
    scheme?: string;
    user?: url_Userinfo;
}

Type declaration

  • OptionalforceQuery?: boolean

    append a query ('?') even if RawQuery is empty

  • Optionalfragment?: string

    fragment for references, without '#'

  • Optionalhost?: string

    host or host:port (see Hostname and Port methods)

  • OptionalomitHost?: boolean

    do not emit empty host (authority)

  • Optionalopaque?: string

    encoded opaque data

  • Optionalpath?: string

    path (relative paths may omit leading slash)

  • OptionalrawFragment?: string

    encoded fragment hint (see EscapedFragment method)

  • OptionalrawPath?: string

    encoded path hint (see EscapedPath method)

  • OptionalrawQuery?: string

    encoded query values, without '?'

  • Optionalscheme?: string
  • Optionaluser?: url_Userinfo

    username and password information