Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the ContentDeliveryService class
 /// </summary>
 /// <remarks>
 /// When passing in your own HttpClient you are responsible for setting the authentication headers
 /// </remarks>
 /// <param name="configuration">Reference to the <see cref="IHeadlessConfiguration"/></param>
 /// <param name="httpClient">Reference to the <see cref="HttpClient"/></param>
 public ContentDeliveryService(IHeadlessConfiguration configuration, HttpClient httpClient)
 {
     Content = new ContentDelivery(configuration, httpClient);
     Media   = new MediaDelivery(configuration, httpClient);
 }