mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
* HTTPServer.{cpp,h}: * extract css-styles to separate block * split /?page= from /?cmd= requests * cleaner html-template
This commit is contained in:
parent
fead940d10
commit
19b0c266f9
2 changed files with 114 additions and 77 deletions
|
@ -29,21 +29,24 @@ namespace http {
|
|||
void SendError (const std::string& message);
|
||||
|
||||
void HandleRequest (const HTTPReq & request);
|
||||
void HandleCommand (std::stringstream& s, const std::string& request);
|
||||
void HandlePage (std::stringstream& s, const std::string& request);
|
||||
void HandleCommand (std::stringstream& s, const std::string& request);
|
||||
|
||||
/* pages */
|
||||
void ShowJumpServices (std::stringstream& s, const std::string& address);
|
||||
void ShowTransports (std::stringstream& s);
|
||||
void ShowTunnels (std::stringstream& s);
|
||||
void ShowStatus (std::stringstream& s);
|
||||
void ShowTransitTunnels (std::stringstream& s);
|
||||
void ShowLocalDestinations (std::stringstream& s);
|
||||
void ShowLocalDestination (std::stringstream& s, const std::string& b32);
|
||||
void ShowSAMSessions (std::stringstream& s);
|
||||
void ShowSAMSession (std::stringstream& s, const std::string& id);
|
||||
void ShowI2PTunnels (std::stringstream& s);
|
||||
/* commands */
|
||||
void StartAcceptingTunnels (std::stringstream& s);
|
||||
void StopAcceptingTunnels (std::stringstream& s);
|
||||
void RunPeerTest (std::stringstream& s);
|
||||
void FillContent (std::stringstream& s);
|
||||
|
||||
protected:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue