mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
20 lines
540 B
C
20 lines
540 B
C
|
//
|
||
|
// TSNetworkManager.h
|
||
|
// TextSecureiOS
|
||
|
//
|
||
|
// Created by Frederic Jacobs on 9/27/13.
|
||
|
// Copyright (c) 2013 Open Whisper Systems. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <Foundation/Foundation.h>
|
||
|
#import <AFNetworking/AFHTTPRequestOperationManager.h>
|
||
|
#import "TSRequest.h"
|
||
|
|
||
|
@interface TSNetworkManager : NSObject
|
||
|
|
||
|
+ (id)sharedManager;
|
||
|
|
||
|
- (void) queueAuthenticatedRequest:(TSRequest*) request success:(void (^)(NSURLSessionDataTask *task, id responseObject))success failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure;
|
||
|
|
||
|
@end
|