|
| | BaseModel (string appId, string appSecret, string refreshToken, string accessToken, ref RestClient restClient, string deviceId=null, string userAgent=null) |
| |
| string | Sr (string subreddit) |
| |
| | Request (string appId, string appSecret, string refreshToken, string accessToken, ref RestClient restClient, string deviceId=null, string userAgent=null) |
| |
| T | SendRequest< T > (string url, dynamic parameters, Method method=Method.GET, string contentType="application/x-www-form-urlencoded") |
| |
| async Task< T > | SendRequestAsync< T > (string url, dynamic parameters, Method method=Method.GET, string contentType="application/x-www-form-urlencoded") |
| |
| RestRequest | PrepareIDRequest (string path, string id, Method method=Method.POST) |
| |
| RestRequest | PrepareJSONRequest (string path, Method method=Method.POST) |
| |
| RestRequest | PrepareRequest (string url, Method method=Method.GET, string contentType="application/x-www-form-urlencoded") |
| |
| RestRequest | PrepareRequest (string url, Method method, List< Parameter > parameters, List< FileParameter > files, string contentType="application/x-www-form-urlencoded") |
| |
| RestRequest | PrepareRequest (RestRequest restRequest, string contentType="application/x-www-form-urlencoded") |
| |
| string | GetVersion () |
| |
| string | ExecuteRequest (string url, Method method=Method.GET) |
| |
| async Task< string > | ExecuteRequestAsync (string url, Method method=Method.GET) |
| |
| string | ExecuteRequest (RestRequest restRequest) |
| |
| async Task< string > | ExecuteRequestAsync (RestRequest restRequest) |
| |
| void | UpdateAccessToken (string accessToken) |
| |
| void | UpdateRequests (List< DateTime > requests) |
| |
| void | AddParamIfNotNull (string name, dynamic value, ref RestRequest restRequest) |
| |