Table of contents
Example URIs (wiki)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
userinfo host port
┌──┴───┐ ┌──────┴──────┐ ┌┴┐
https://john.doe@www.example.com:123/forum/questions/?tag=networking&order=newest#top
└─┬─┘ └─────────────┬────────────┘└───────┬───────┘ └────────────┬────────────┘ └┬┘
scheme authority path query fragment
ldap://[2001:db8::7]/c=GB?objectClass?one
└┬─┘ └─────┬─────┘└─┬─┘ └──────┬──────┘
scheme authority path query
mailto:John.Doe@example.com
└─┬──┘ └────┬─────────────┘
scheme path
news:comp.infosystems.www.servers.unix
└┬─┘ └─────────────┬─────────────────┘
scheme path
tel:+1-816-555-1212
└┬┘ └──────┬──────┘
scheme path
telnet://192.0.2.16:80/
└─┬──┘ └─────┬─────┘│
scheme authority path
urn:oasis:names:specification:docbook:dtd:xml:4.1.2
└┬┘ └──────────────────────┬──────────────────────┘
scheme path
FUri class
Constructors
Properties
Methods
Static Methods
-
parse - Creates a new
FUri
object by parsing a URI string.1
public static FUri parse(string uriString)
1
factory FUri parse(string uriString)
1 2
@classmethod def parse(cls, uriString: str) -> FUri
1
public static parse(string uriString): FUri
-
tryParse - Creates a new
FUri
object by parsing a URI string.1
public static FUri? tryParse(string uriString)
1
factory FUri? tryParse(string uriString)
1 2
@classmethod def tryParse(cls, uriString: str) -> Optional[FUri]
1
public static tryParse(string uriString): FUri | null