C# Class biz.dfch.CS.Activiti.Client.RestClient

Mostrar archivo Open project: dfensgmbh/biz.dfch.CS.Activiti.Client

Public Methods

Method Description
Invoke ( String uri ) : String
Invoke ( String uri, Hashtable queryParameters ) : String
Invoke ( String method, String uri, Hashtable queryParameters, Hashtable headers, String body ) : String
RestClient ( ) : System
RestClient ( Uri server ) : System
RestClient ( Uri server, string username, string password ) : System
SetCredential ( String username, String password ) : void
Upload ( string uri, byte image, string name, string filename ) : Task

Private Methods

Method Description
Initialise ( Uri server, string username, string password ) : void

Method Details

Invoke() public method

public Invoke ( String uri ) : String
uri String
return String

Invoke() public method

public Invoke ( String uri, Hashtable queryParameters ) : String
uri String
queryParameters System.Collections.Hashtable
return String

Invoke() public method

public Invoke ( String method, String uri, Hashtable queryParameters, Hashtable headers, String body ) : String
method String
uri String
queryParameters System.Collections.Hashtable
headers System.Collections.Hashtable
body String
return String

RestClient() public method

public RestClient ( ) : System
return System

RestClient() public method

public RestClient ( Uri server ) : System
server System.Uri
return System

RestClient() public method

public RestClient ( Uri server, string username, string password ) : System
server System.Uri
username string
password string
return System

SetCredential() public method

public SetCredential ( String username, String password ) : void
username String
password String
return void

Upload() public method

public Upload ( string uri, byte image, string name, string filename ) : Task
uri string
image byte
name string
filename string
return Task