ECHOQuery Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | ECHOQuery.h ECHOQuery.m |
Overview
The ECHOQuery contains basic query methods used by the SDK.
Copyright 2015 NeuroBASE,Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+ doFindWithInstanceId:resourceType:params:listKey:returningError:factory:
Does Find objects.
+ (NSArray *)doFindWithInstanceId:(NSString *)instanceId resourceType:(NSString *)resourceType params:(NSDictionary *)params listKey:(NSString *)listKey returningError:(NSError **)returningError factory:(id ( ^ ) ( NSString *instanceId , NSString *refid , NSDictionary *dict ))factoryDiscussion
Does Find objects.
Declared In
ECHOQuery.h
+ requestWithPath:httpMethod:
Gets a request.
+ (id)requestWithPath:(NSString *)path httpMethod:(NSString *)httpMethodParameters
path |
A request url path. |
|---|---|
httpMethod |
A request method (GET/POST/PUT/DELETE). |
Discussion
Gets a request.
Declared In
ECHOQuery.h
+ requestWithPath:httpMethod:dictionary:
Gets a request.
+ (id)requestWithPath:(NSString *)path httpMethod:(NSString *)httpMethod dictionary:(NSDictionary *)dictParameters
path |
A request url path. |
|---|---|
httpMethod |
A request method (GET/POST/PUT/DELETE). |
dict |
Request contents/parameters |
Discussion
Gets a request.
Declared In
ECHOQuery.h
+ requestWithPath:httpMethod:dictionary:multipart:
Gets a request.
+ (id)requestWithPath:(NSString *)path httpMethod:(NSString *)httpMethod dictionary:(NSDictionary *)dict multipart:(BOOL)multipartParameters
path |
A request url path. |
|---|---|
httpMethod |
A request method (GET/POST/PUT/DELETE). |
dict |
Request contents/parameters |
multipart |
Whether to use multipart/form-data to encode the contents. |
Discussion
Gets a request.
Declared In
ECHOQuery.h
+ sendSynchronousRequest:returningError:
Sends a synchronous request.
+ (NSDictionary *)sendSynchronousRequest:(NSURLRequest *)request returningError:(NSError **)returningErrorParameters
request |
A sending request. |
|---|---|
returningError |
Pointer to an NSError that will be set if necessary. |
Discussion
Sends a synchronous request.
Declared In
ECHOQuery.h