1234567891011121314151617181920212223242526272829303132 |
- using System.Net;
- namespace WebDAVSharp.Server.Adapters
- {
- /// <summary>
- /// This is an interface-version of the parts of
- /// <see cref="HttpListenerContext" /> that
- /// the
- /// <see cref="WebDavServer" /> requires to operator.
- /// </summary>
- /// <remarks>
- /// The main purpose of this interface is to facilitate unit-testing.
- /// </remarks>
- public interface IHttpListenerContext : IAdapter<HttpListenerContext>
- {
- /// <summary>
- /// Gets the <see cref="IHttpListenerRequest" /> request adapter.
- /// </summary>
- /// <value>
- /// The request.
- /// </value>
- IHttpListenerRequest Request { get; }
- /// <summary>
- /// Gets the <see cref="IHttpListenerResponse" /> response adapter.
- /// </summary>
- /// <value>
- /// The response.
- /// </value>
- IHttpListenerResponse Response { get; }
- }
- }
|