For internal use. More...
| Public Member Functions | |
| HttpClient (int apiKey, string apiSecret, string apiUrl="") | |
| virtual string | Get (string url) |
| virtual string | Get (string url, Dictionary< string, string > headers) |
| virtual Task< string > | GetAsync (string url, Dictionary< string, string > headers=null) |
| virtual string | Post (string url, Dictionary< string, string > headers, Dictionary< string, object > data) |
| virtual Task< string > | PostAsync (string url, Dictionary< string, string > headers, Dictionary< string, object > data) |
| virtual string | Put (string url, Dictionary< string, string > headers, Dictionary< string, object > data) |
| virtual async Task< string > | PutAsync (string url, Dictionary< string, string > headers, Dictionary< string, object > data) |
| virtual string | Patch (string url, Dictionary< string, string > headers, Dictionary< string, object > data) |
| virtual Task< string > | PatchAsync (string url, Dictionary< string, string > headers, Dictionary< string, object > data) |
| virtual string | Delete (string url, Dictionary< string, string > headers) |
| virtual Task< string > | DeleteAsync (string url, Dictionary< string, string > headers) |
| string | DoRequest (string url, Dictionary< string, string > specificHeaders, Dictionary< string, object > bodyData) |
| async Task< string > | DoRequestAsync (string url, Dictionary< string, string > specificHeaders, Dictionary< string, object > bodyData) |
| XmlDocument | ReadXmlResponse (string xml) |
| Properties | |
| string | CustomUserAgent [get, set] |
| The custom user-agent value. The HttpClient will append this value, if it exists, to the initial user-agent value. More... | |
| bool | Debug = false [get, set] |
| Turns on and off debug logging More... | |
| int? | RequestTimeout [get, set] |
| Timeout in milliseconds for the HttpWebRequests sent by the client. More... |
Detailed Description
For internal use.
Property Documentation
CustomUserAgent
The custom user-agent value. The HttpClient will append this value, if it exists, to the initial user-agent value.
Debug
Turns on and off debug logging
RequestTimeout
Timeout in milliseconds for the HttpWebRequests sent by the client.