mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
528 B
Objective-C
27 lines
528 B
Objective-C
//
|
|
// TSAllocAttachmentRequest.m
|
|
// Signal
|
|
//
|
|
// Created by Frederic Jacobs on 21/12/14.
|
|
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import "TSAllocAttachmentRequest.h"
|
|
#import "TSConstants.h"
|
|
|
|
@implementation TSAllocAttachmentRequest
|
|
|
|
-(instancetype)init {
|
|
NSString *path = [NSString stringWithFormat:@"%@", textSecureAttachmentsAPI];
|
|
|
|
self = [super initWithURL:[NSURL URLWithString:path]];
|
|
|
|
if (self) {
|
|
[self setHTTPMethod:@"GET"];
|
|
}
|
|
|
|
return self;
|
|
}
|
|
|
|
@end
|