diff options
Diffstat (limited to 'src/test/burn/WixToolsetTest.BurnE2E/Utilities/IWebServer.cs')
-rw-r--r-- | src/test/burn/WixToolsetTest.BurnE2E/Utilities/IWebServer.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/test/burn/WixToolsetTest.BurnE2E/Utilities/IWebServer.cs b/src/test/burn/WixToolsetTest.BurnE2E/Utilities/IWebServer.cs new file mode 100644 index 00000000..a4d46d48 --- /dev/null +++ b/src/test/burn/WixToolsetTest.BurnE2E/Utilities/IWebServer.cs | |||
@@ -0,0 +1,23 @@ | |||
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 | } \ No newline at end of file | ||