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

Utility class for interacting with HTTP REST style web services.
파일 보기 프로젝트 열기: jasper-yeh/ClearCanvas 1 사용 예제들

공개 메소드들

메소드 설명
CreateRequest ( string resource ) : System.Net.Request

Creates a request for the specified resource.

CreateRequest ( string resource, object>.Dictionary args ) : System.Net.Request

Creates a request for the specified resource, with the specified query string arguments.

CreateRequest ( string resource, string args ) : System.Net.Request

Creates a request for the specified resource, with the specified query string arguments.

Get ( string resource, object>.Dictionary args ) : System.Net.Response

Convenience method for issuing an HTTP GET request.

Get ( string resource, string args ) : System.Net.Response

Convenience method for issuing an HTTP GET request.

RestClient ( string baseUrl ) : System

Constructs a REST client for the specified base URL.

비공개 메소드들

메소드 설명
QueryString ( object>.Dictionary args ) : string

메소드 상세

CreateRequest() 공개 메소드

Creates a request for the specified resource.
public CreateRequest ( string resource ) : System.Net.Request
resource string
리턴 System.Net.Request

CreateRequest() 공개 메소드

Creates a request for the specified resource, with the specified query string arguments.
public CreateRequest ( string resource, object>.Dictionary args ) : System.Net.Request
resource string
args object>.Dictionary
리턴 System.Net.Request

CreateRequest() 공개 메소드

Creates a request for the specified resource, with the specified query string arguments.
public CreateRequest ( string resource, string args ) : System.Net.Request
resource string
args string
리턴 System.Net.Request

Get() 공개 메소드

Convenience method for issuing an HTTP GET request.
public Get ( string resource, object>.Dictionary args ) : System.Net.Response
resource string
args object>.Dictionary
리턴 System.Net.Response

Get() 공개 메소드

Convenience method for issuing an HTTP GET request.
public Get ( string resource, string args ) : System.Net.Response
resource string
args string
리턴 System.Net.Response

RestClient() 공개 메소드

Constructs a REST client for the specified base URL.
public RestClient ( string baseUrl ) : System
baseUrl string
리턴 System