ae.sys.net

Abstract interface for basic network operations. Import ae.sys.net.* to select an implementation.

Modules

ae
module ae.sys.net.ae

ae.sys.net implementation using ae.net Note: ae.net requires an SSL provider for HTTPS links.

cachedcurl
module ae.sys.net.cachedcurl

ae.sys.net implementation for HTTP using Curl, with caching and cookie support

curl
module ae.sys.net.curl

ae.sys.net implementation using std.net.curl Note: std.net.curl requires libcurl.

system
module ae.sys.net.system

Automatically select the Network implementation that's most likely to work on the current system.

test
module ae.sys.net.test

Tests all Network implementations.

wininet
module ae.sys.net.wininet

ae.sys.net implementation using WinINet Note: Requires Windows.

Members

Classes

Network
class Network

Functions

downloadFile
void downloadFile(string url, string target)

UFCS-able global synonym functions.

Variables

net
Network net;

The instance of the selected Network implementation.

Meta

Authors

Vladimir Panteleev <vladimir@thecybershadow.net>

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.