ClientLancache

Author

Lossy

Since

31/12/2024

Properties

Link copied to clipboard

When set to true, will attempt to download from a Lancache instance on the LAN rather than going out to Steam's CDNs.

Functions

Link copied to clipboard
fun buildLancacheRequest(server: Server, command: String, query: String?): Request
Link copied to clipboard
fun detectLancacheServer(dispatcher: CoroutineDispatcher = Dispatchers.IO): CompletableFuture<Unit>

Attempts to automatically resolve a Lancache on the local network. If detected, SteamKit will route all downloads through the cache rather than through Steam's CDN. Will try to detect the Lancache through the poisoned DNS entry for lancache.steamcontent.com

Link copied to clipboard

Determines if an IP address is a private address, as specified in RFC1918