C# 클래스 ClearCanvas.Common.Rest.RestClient.Request

Represents an HTTP request for a specified resource.
파일 보기 프로젝트 열기: jasper-yeh/ClearCanvas

공개 메소드들

메소드 설명
Delete ( ) : System.Net.Response

Sends this request using the DELETE verb and returns the response.

Do ( string verb ) : System.Net.Response
Get ( ) : System.Net.Response

Sends this request using the GET verb and returns the response.

Post ( ) : System.Net.Response

Sends this request using the POST verb and returns the response.

Put ( ) : System.Net.Response

Sends this request using the PUT verb and returns the response.

SetData ( Stream data, bool buffer = true ) : System.Net.Request

Sets the request body for this request, and returns itself.

SetData ( Stream data, string contentType, bool buffer = true ) : System.Net.Request

Sets the request body for this request, and returns itself.

SetData ( string data, bool buffer = true ) : System.Net.Request

Sets the request body for this request, and returns itself.

SetData ( string data, string contentType, bool buffer = true ) : System.Net.Request

Sets the request body for this request, and returns itself.

비공개 메소드들

메소드 설명
GetResponse ( HttpWebRequest request ) : System.Net.Response
Initialize ( string resource, string args ) : void
Request ( RestClient rc, string resource, string args ) : System
WriteRequestBody ( ) : void

메소드 상세

Delete() 공개 메소드

Sends this request using the DELETE verb and returns the response.
public Delete ( ) : System.Net.Response
리턴 System.Net.Response

Do() 공개 메소드

public Do ( string verb ) : System.Net.Response
verb string
리턴 System.Net.Response

Get() 공개 메소드

Sends this request using the GET verb and returns the response.
public Get ( ) : System.Net.Response
리턴 System.Net.Response

Post() 공개 메소드

Sends this request using the POST verb and returns the response.
public Post ( ) : System.Net.Response
리턴 System.Net.Response

Put() 공개 메소드

Sends this request using the PUT verb and returns the response.
public Put ( ) : System.Net.Response
리턴 System.Net.Response

SetData() 공개 메소드

Sets the request body for this request, and returns itself.
public SetData ( Stream data, bool buffer = true ) : System.Net.Request
data Stream
buffer bool
리턴 System.Net.Request

SetData() 공개 메소드

Sets the request body for this request, and returns itself.
public SetData ( Stream data, string contentType, bool buffer = true ) : System.Net.Request
data Stream
contentType string
buffer bool Specifies whether the request should buffer the data.
리턴 System.Net.Request

SetData() 공개 메소드

Sets the request body for this request, and returns itself.
public SetData ( string data, bool buffer = true ) : System.Net.Request
data string
buffer bool
리턴 System.Net.Request

SetData() 공개 메소드

Sets the request body for this request, and returns itself.
public SetData ( string data, string contentType, bool buffer = true ) : System.Net.Request
data string
contentType string
buffer bool Specifies whether the request should buffer the data.
리턴 System.Net.Request