C# Class Sailthru.SailthruResponse

Mostra file Open project: sailthru/sailthru-net-client Class Usage Examples

Public Methods

Method Description
IsOK ( ) : System.Boolean

Check if the response is valid

SailthruResponse ( HttpWebResponse response ) : System

Constructor

getRateLimitInfo ( ) : Hashtable

Private Methods

Method Description
createErrorResponse ( String message ) : Hashtable

create custom hastable with error and errormsg

parseJSON ( ) : void

Parse Response JSON

Method Details

IsOK() public method

Check if the response is valid
public IsOK ( ) : System.Boolean
return System.Boolean

SailthruResponse() public method

Constructor
public SailthruResponse ( HttpWebResponse response ) : System
response System.Net.HttpWebResponse
return System

getRateLimitInfo() public method

public getRateLimitInfo ( ) : Hashtable
return System.Collections.Hashtable