UNPKG

uribuilder

Version:
1 lines 1.04 kB
{"version":3,"names":[],"mappings":"","sources":["uriBuilder.d.ts"],"sourcesContent":["import { IUriQueryModel } from './uriQueryBuilder';\nimport { IUriAuthority } from './uriAuthority';\nexport interface IUriModel {\n schema: string;\n authority?: IUriAuthority;\n host: string;\n port: number;\n pathSegments: string[];\n query: IUriQueryModel;\n fragment: string;\n}\nexport declare class UriBuilder implements IUriModel {\n static relative: string;\n schema: string;\n private _authority;\n readonly authority: IUriAuthority;\n host: string;\n private _port?;\n port: number;\n pathSegments: string[];\n query: IUriQueryModel;\n fragment: string;\n static isUriFormat(str: string): boolean;\n static updateQuery(uri: string, model: IUriQueryModel): string;\n static parse(uri: string): UriBuilder;\n setPath(path: string): void;\n setAuthority(user: string, password?: string): void;\n isRelative(): boolean;\n toString(): string;\n}\n"],"file":"uriBuilder.d.ts"}