Skip to content

Commit 9d7650b

Browse files
committed
just added an RO prop
1 parent 0bd8ae2 commit 9d7650b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Synapse.Common/WebClient/HttpApiClientBase.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ public abstract partial class HttpApiClientBase
2222

2323
public HttpApiClientBase(string baseUrl, string messageFormatType = "application/json")
2424
{
25+
BaseUrl = baseUrl;
26+
2527
WebApiClientOptions options = new WebApiClientOptions()
2628
{
2729
BaseAddress = baseUrl,
@@ -44,6 +46,8 @@ public HttpApiClientBase(string baseUrl, string messageFormatType = "application
4446
this.Headers.Accept.Add( new MediaTypeWithQualityHeaderValue( this.Options.ContentType ) );
4547
}
4648

49+
public string BaseUrl { get; private set; }
50+
4751
#region Generic
4852
/// Gets the Authorization header
4953
private void Authenticate()

0 commit comments

Comments
 (0)