前端代码
This commit is contained in:
33
node_modules/socket.io-client/build/cjs/url.d.ts
generated
vendored
Normal file
33
node_modules/socket.io-client/build/cjs/url.d.ts
generated
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
type ParsedUrl = {
|
||||
source: string;
|
||||
protocol: string;
|
||||
authority: string;
|
||||
userInfo: string;
|
||||
user: string;
|
||||
password: string;
|
||||
host: string;
|
||||
port: string;
|
||||
relative: string;
|
||||
path: string;
|
||||
directory: string;
|
||||
file: string;
|
||||
query: string;
|
||||
anchor: string;
|
||||
pathNames: Array<string>;
|
||||
queryKey: {
|
||||
[key: string]: string;
|
||||
};
|
||||
id: string;
|
||||
href: string;
|
||||
};
|
||||
/**
|
||||
* URL parser.
|
||||
*
|
||||
* @param uri - url
|
||||
* @param path - the request path of the connection
|
||||
* @param loc - An object meant to mimic window.location.
|
||||
* Defaults to window.location.
|
||||
* @public
|
||||
*/
|
||||
export declare function url(uri: string | ParsedUrl, path?: string, loc?: Location): ParsedUrl;
|
||||
export {};
|
Reference in New Issue
Block a user