NewPut() public static method

Construct a PUT request.
public static NewPut ( ) : Request
return Request
コード例 #1
0
 public void PutAsync(Byte[] payload, Int32 format, Int32 accept,
                      Action <Response> done = null, Action <FailReason> fail = null)
 {
     SendAsync(Accept((Request)Request.NewPut().SetPayload(payload, format), accept), done, fail);
 }
コード例 #2
0
 public void PutAsync(String payload, Int32 format,
                      Action <Response> done = null, Action <FailReason> fail = null)
 {
     SendAsync((Request)Request.NewPut().SetPayload(payload, format), done, fail);
 }
コード例 #3
0
 public Response PutIfNoneMatch(Byte[] payload, Int32 format)
 {
     return(Send(IfNoneMatch((Request)Request.NewPut().SetPayload(payload, format))));
 }
コード例 #4
0
 public Response PutIfMatch(Byte[] payload, Int32 format, params Byte[][] etags)
 {
     return(Send(IfMatch((Request)Request.NewPut().SetPayload(payload, format), etags)));
 }
コード例 #5
0
 public Response Put(Byte[] payload, Int32 format, Int32 accept)
 {
     return(Send(Accept((Request)Request.NewPut().SetPayload(payload, format), accept)));
 }
コード例 #6
0
 public Response Put(String payload, Int32 format = MediaType.TextPlain)
 {
     return(Send((Request)Request.NewPut().SetPayload(payload, format)));
 }