Repository URL to install this package:
//
// DEServerRequest.h
// DynamicEngine
//
// Created by Mobile3D on 08/10/13.
// Copyright (c) 2013 Mobile3D. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "IDEServerRequest.h"
@interface DEServerRequest : NSObject<IDEServerRequest>
@property (nonatomic, strong) NSString *context;
@property (nonatomic) BOOL usesSpinner;
/**
* This init method is used to create the server request from a string conatining a json.
*
* @param request The string representation of the server request.
* @return The newly created server request.
*/
- (id) initWithRequestString:(NSString *) request;
/**
* This init method is used to create the server request from a dictionary.
*
* @param request The dictionary representation of the server request.
* @return The newly created server request.
*/
- (id) initWithRequestDictionary:(NSDictionary *) request;
/**
* This method returns the dictionary representation of the request with the rid field.
*
* @param rid The request identifier to add to the dictionary.
* @return The dictionary representation of the request.
*/
- (NSDictionary *) requestDictionaryWithRid:(NSInteger) rid;
@end