summaryrefslogtreecommitdiff
path: root/src/test/burn/WixToolsetTest.BurnE2E/IWebServer.cs
blob: 3bb8a23e6ab0aab32c5736d49915d1f316a0ff59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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.

namespace WixToolsetTest.BurnE2E
{
    using System;
    using System.Collections.Generic;

    public interface IWebServer : IDisposable
    {
        /// <summary>
        /// Registers a collection of relative URLs (the key) with its absolute path to the file (the value).
        /// </summary>
        void AddFiles(Dictionary<string, string> physicalPathsByRelativeUrl);

        /// <summary>
        /// Starts the web server on a new thread.
        /// </summary>
        void Start();
    }
}