Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (23 sloc) 736 Bytes
// TDMultipartDownloader.h
// TouchDB
// Created by Jens Alfke on 1/31/12.
// Copyright (c) 2012 Couchbase, Inc. All rights reserved.
#import "TDRemoteRequest.h"
@class TDMultipartDocumentReader, TD_Database;
/** Downloads a remote CouchDB document in multipart format.
Attachments are added to the database, but the document body isn't. */
@interface TDMultipartDownloader : TDRemoteRequest
TD_Database* _db;
TDMultipartDocumentReader* _reader;
- (id) initWithURL: (NSURL*)url
database: (TD_Database*)database
requestHeaders: (NSDictionary *) requestHeaders
onCompletion: (TDRemoteRequestCompletionBlock)onCompletion;
@property (readonly) NSDictionary* document;
Jump to Line
Something went wrong with that request. Please try again.