C# Class WaveBox.ApiHandler.UriWrapper

Exibir arquivo Open project: einsteinx2/WaveBox Class Usage Examples

Public Methods

Method Description
UriPart ( int index ) : string

Return the element at a given index of the URI

UriWrapper ( string uriString, string httpMethod = null ) : System

Constructor for UriWrapper, takes in a URI string and enables methods to parse its pieces

Private Methods

Method Description
ParseParameters ( ) : void

Parse parameters into a Dictionary from a URI

RemoveEmptyElements ( string input ) : IList

Purge the empty elements in an array of strings, returning a list of strings

Method Details

UriPart() public method

Return the element at a given index of the URI
public UriPart ( int index ) : string
index int
return string

UriWrapper() public method

Constructor for UriWrapper, takes in a URI string and enables methods to parse its pieces
public UriWrapper ( string uriString, string httpMethod = null ) : System
uriString string
httpMethod string
return System