main
cs 23 lines 793 Bytes
Raw
1 // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3 namespace WixToolsetTest.BurnE2E
4 {
5 using System;
6 using System.Collections.Generic;
7
8 public interface IWebServer : IDisposable
9 {
10 bool DisableHeadResponses { get; set; }
11 bool DisableRangeRequests { get; set; }
12
13 /// <summary>
14 /// Registers a collection of relative URLs (the key) with its absolute path to the file (the value).
15 /// </summary>
16 void AddFiles(Dictionary<string, string> physicalPathsByRelativeUrl);
17
18 /// <summary>
19 /// Starts the web server on a new thread.
20 /// </summary>
21 void Start();
22 }
23 }