Direction returns whether this instance is an upload or download instance Adapter instances can only be one or the other, although the same type may be instantiated for each direction
()
| 240 | // Adapter instances can only be one or the other, although the same |
| 241 | // type may be instantiated for each direction |
| 242 | Direction() Direction |
| 243 | // Begin a new batch of uploads or downloads. Call this first, followed by one |
| 244 | // or more Add calls. The passed in callback will receive updates on progress. |
| 245 | Begin(cfg AdapterConfig, cb ProgressCallback) error |
no outgoing calls