Creates a multipart/form-data object that is suitable for file uploads and other kinds of POST
An experimental component for working with REST apis. Note that it is a zero-argument template, so to create one, use new HttpApiClient!()(args..) or you will get "HttpApiClient is used as a type" compile errors.
Usage:
When you send something, it creates a request and sends it asynchronously. The request object
WebSocket client, based on the browser api, though also with other api options.
auto request = get("http://arsdnet.net/"); request.send();
gets the text off a url. basic operation only.
Do not forget to call waitForCompletion() on the returned object!
It has no dependencies for basic operation, but does require OpenSSL libraries (or compatible) to be support HTTPS. Compile with -version=with_openssl to enable such support.
http2.d, despite its name, does NOT implement HTTP/2.0, but this shouldn't matter for 99.9% of usage, since all servers will continue to support HTTP/1.1 for a very long time.
This is version 2 of my http/1.1 client implementation.