-
Notifications
You must be signed in to change notification settings - Fork 2
NetworkConnector
子悦解说 edited this page Sep 16, 2024
·
4 revisions
NetworkConnector is an early library for downloading files and getting domain TXT records.
Note that NetworkConnector downloads files very rudely: if the server returns a 404-not-found page, it will download the 404 page.
NetworkConnector parses records with its own formats: key1=value1; key2=value2; key3=value3
.
Function | Description |
---|---|
DownloadFile(url$, file$) |
url$ is the URL of the file, file$ is the target file. See Download files. |
GetDomainTXT$(url$) |
url$ is the domain. See Get TXT records. |
ParseDomainTXT$(txt$, key$) |
txt$ is the txt record, key$ is the key. See Parse TXT records. |
Version | Changes |
---|---|
v1.02 | Use DnsQuery for the GetDomainTXT function, instead of nslookup of the console. |
v1.01 | Tiny optimizations. |
High Priority: IniController • RapidBson
Middle Priority: Blib • BlitzEncode
Low Priority: NetworkConnector • OpenCC • BlitzFormat