getBaseUrl() public method

Gets the base url of the Client
public getBaseUrl ( ) : string
return string
Example #1
0
 /// <summary>
 /// Creates a new WebRequest
 /// </summary>
 /// <param name="client">Client to use for all communications.</param>
 public WebRequest(Client client)
 {
     this.m_cClient = client;
     this.m_sUrl = client.getBaseUrl();
 }
Example #2
0
 /// <summary>
 /// Creates a new WebRequest
 /// </summary>
 /// <param name="client">Client to use for all communications.</param>
 public WebRequest(Client client)
 {
     this.m_cClient = client;
     this.m_sUrl = client.getBaseUrl();
 }