C# 클래스 FluidDB.FluidConnector

A base class defining the call methods for all the other FluidDB classes
파일 보기 프로젝트 열기: ntoll/FluidDB.NET 1 사용 예제들

공개 메소드들

메소드 설명
Call ( METHOD m, string path, string>.Dictionary args, object>.Dictionary body ) : HttpWebResponse

Makes a call to FluidDB using JSON payload

Call ( METHOD m, string path, string>.Dictionary args, string contentType, string payload ) : HttpWebResponse

Make any call using a custom content type for payload

GetJsonResultDictionary ( HttpWebResponse response ) : object>.Dictionary

Given a response with a json payload, will return a dictionary representation of the json

GetRawResult ( HttpWebResponse response ) : string

Utility method: given a WebResponse object this method will return the "result" from FluidDB contained therein.

비공개 메소드들

메소드 설명
ProcessURI ( METHOD m, string path, string>.Dictionary args ) : Uri

메소드 상세

Call() 공개 메소드

Makes a call to FluidDB using JSON payload
public Call ( METHOD m, string path, string>.Dictionary args, object>.Dictionary body ) : HttpWebResponse
m METHOD
path string The path to call
args string>.Dictionary Any further arguments to append to the URI
body object>.Dictionary The body of the request
리턴 System.Net.HttpWebResponse

Call() 공개 메소드

Make any call using a custom content type for payload
public Call ( METHOD m, string path, string>.Dictionary args, string contentType, string payload ) : HttpWebResponse
m METHOD
path string
args string>.Dictionary
contentType string
payload string
리턴 System.Net.HttpWebResponse

GetJsonResultDictionary() 공개 메소드

Given a response with a json payload, will return a dictionary representation of the json
public GetJsonResultDictionary ( HttpWebResponse response ) : object>.Dictionary
response System.Net.HttpWebResponse The response from FluidDB
리턴 object>.Dictionary

GetRawResult() 공개 메소드

Utility method: given a WebResponse object this method will return the "result" from FluidDB contained therein.
public GetRawResult ( HttpWebResponse response ) : string
response System.Net.HttpWebResponse The response from FluidDB
리턴 string