Example #1
0
        public static OKServiceRequest Put(string path, RequestParams parameters, RequestHandler handler)
        {
            OKServiceRequest req = new OKServiceRequest(path, parameters, OKRestVerb.Put);

            req.Perform(handler);
            return(req);
        }
Example #2
0
        public static OKServiceRequest MultipartPost(string path, RequestParams parameters, OKUploadBuffer upload, RequestHandler handler)
        {
            OKServiceRequest req = new OKServiceRequest(path, parameters, OKRestVerb.Post);

            req.Upload = upload;
            req.Perform(handler);
            return(req);
        }
Example #3
0
 public static OKServiceRequest Put(string path, RequestParams parameters, RequestHandler handler)
 {
     OKServiceRequest req = new OKServiceRequest(path, parameters, OKRestVerb.Put);
     req.Perform(handler);
     return req;
 }
Example #4
0
 public static OKServiceRequest MultipartPost(string path, RequestParams parameters, OKUploadBuffer upload, RequestHandler handler)
 {
     OKServiceRequest req = new OKServiceRequest(path, parameters, OKRestVerb.Post);
     req.Upload = upload;
     req.Perform(handler);
     return req;
 }