Class: Amp::Servers::HTTPServer

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/amp/server/http_server.rb

Overview

HTTPServer

General HTTP Server that serves up a Mercurial repository under the Mercurial HTTP protocol. Any mercurial client (including Amp) can use this server for push/pull operations, clones, and so on. Note: this server only provides methods for dealing with Mercurial clients. It is not a full-blown web server with a web interface to the repository.

It is worth noting that one may serve many repositories using one server using this class. Spiffy, eh?

Direct Known Subclasses

HTTPAuthorizedServer