C# Class Razorpay.Api.RestClient

Mostra file Open project: razorpay/razorpay-dot-net

Public Methods

Method Description
MakeRequest ( string relativeUrl, HttpMethod method, string data ) : string
ThrowServerError ( int statusCode ) : void

Private Methods

Method Description
HandleErrors ( HttpWebResponse webResponse, string response ) : void
ParseResponse ( HttpWebResponse response ) : string

Method Details

MakeRequest() public method

public MakeRequest ( string relativeUrl, HttpMethod method, string data ) : string
relativeUrl string
method HttpMethod
data string
return string

ThrowServerError() public method

public ThrowServerError ( int statusCode ) : void
statusCode int
return void