C# Class myGengo.Http.Utils

Show file Open project: gengo/spGengo

Public Methods

Method Description
buildQuery ( IDictionary t ) : string
buildQuery ( IDictionary query_params, bool encode ) : string
timestamp ( ) : string

Returns number of seconds

urlEncode ( string s, bool encode ) : string

Protected Methods

Method Description
sendRequest ( string method, string url, string data ) : string

Method Details

buildQuery() public static method

public static buildQuery ( IDictionary t ) : string
t IDictionary
return string

buildQuery() public static method

public static buildQuery ( IDictionary query_params, bool encode ) : string
query_params IDictionary
encode bool
return string

sendRequest() protected static method

protected static sendRequest ( string method, string url, string data ) : string
method string
url string
data string
return string

timestamp() public static method

Returns number of seconds
public static timestamp ( ) : string
return string

urlEncode() public static method

public static urlEncode ( string s, bool encode ) : string
s string
encode bool
return string