using System.Collections.Generic;
using WebDAVSharp.Server.Adapters;
using WebDAVSharp.Server.Stores;
namespace WebDAVSharp.Server.MethodHandlers
{
///
/// This interface must be implemented by a class that will respond
/// to requests from a client by handling specific HTTP methods.
///
public interface IWebDavMethodHandler
{
///
/// Gets the collection of the names of the HTTP methods handled by this instance.
///
///
/// The names.
///
IEnumerable Names { get; }
///
/// Processes the request.
///
/// The through which the request came in from the client.
///
/// The
/// object containing both the request and response
/// objects to use.
///
/// The that the is hosting.
void ProcessRequest(WebDavServer server, IHttpListenerContext context, IWebDavStore store);
}
}