Метод | Описание | |
---|---|---|
API ( string apiKey ) : System | ||
GenerateCombinations ( |
Generate valid url combinations that have to be checked againts the database
|
|
GetChunkData ( string chunkURL, string listName ) : IEnumerable |
This is used by clients who want to get new data for known list types. Step 2/2 - called for each Chunk redirect. Download chunk content.
|
|
GetFullHashes ( |
A client may request the list of full-length hashes for a hash prefix. This usually occurs when a client is about to download content from a url whose calculated hash starts with a prefix listed in a blacklist.
|
|
GetListData ( string list, IEnumerable |
This is used by clients who want to get new data for known list types. Step 1/2. Get chunk URLs redirects for ALL chunks Only supports data for one list at the time (which is not a problem for our implementation since we always only request from one list)
|
|
GetLists ( ) : IEnumerable |
This is used by clients to discover the available list types.
|
Метод | Описание | |
---|---|---|
ComputeHash ( |
||
DecodeNumber ( byte buffer, int startPosition, int &endPosition ) : |
||
IsIpAddress ( string hostname ) : bool | ||
ParseChunkData ( Stream stream, string listName ) : IEnumerable |
||
ParseFullHashes ( Stream stream ) : IEnumerable |
||
ParseIntervals ( string input ) : IEnumerable |
||
ParseListData ( Stream stream ) : |
||
PrintIntervals ( IEnumerable |
||
ReadNumber ( byte buffer, int startPosition, int &endPosition ) : |
||
SplitHost ( string url ) : IEnumerable |
||
SplitPath ( string url ) : IEnumerable |
public GenerateCombinations ( |
||
url | Canonical URL | |
Результат | IEnumerable |
public GetChunkData ( string chunkURL, string listName ) : IEnumerable |
||
chunkURL | string | URL returned from GetListData |
listName | string | |
Результат | IEnumerable |
public GetFullHashes ( |
||
targetURL | ||
Результат | IEnumerable |
public GetListData ( string list, IEnumerable |
||
list | string | list name |
whilelist | IEnumerable |
|
blacklist | IEnumerable |
all blacklist chunks already available localy |
Результат |