Beispiel #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);
        }
Beispiel #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);
        }
 public static OKServiceRequest Put(string path, RequestParams parameters, RequestHandler handler)
 {
     OKServiceRequest req = new OKServiceRequest(path, parameters, OKRestVerb.Put);
     req.Perform(handler);
     return req;
 }
 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;
 }