fune/toolkit/components/bitsdownload/bits_client/README.md
David Major e5772c0c54 Bug 1632884 - Update bits_client readme after bug 1586996 r=agashlin
A special winapi is no longer necessary.

(I haven't "tested" this change; I merely found this in a search result for winapi-rs.)

Differential Revision: https://phabricator.services.mozilla.com/D72402
2020-04-28 21:40:30 +00:00

632 B

bits_client

Interfaces for BITS.

bits_client lib

bits_client is the primary target and provides BitsClient, an API for creating and monitoring BITS jobs.

bits_client::new() creates a BitsClient that does all operations within the current process, as the current user.

bits crate

bits is a safe interface to BITS, providing connections to the Background Copy Manager, some basic operations on Background Copy Jobs, and methods for implementing IBackgroundCopyCallbacks in Rust.

test_client example

examples/test_client.rs shows how to use the API.