Mercurial > hg > orthanc
comparison OrthancServer/main.cpp @ 908:e078ea944089 plugins
refactoring HttpOutput
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 19 Jun 2014 17:47:39 +0200 |
parents | 2732b5f57d9c |
children | dcb2469f00f4 |
comparison
equal
deleted
inserted
replaced
907:9b8298234254 | 908:e078ea944089 |
---|---|
444 #endif | 444 #endif |
445 | 445 |
446 httpServer.RegisterHandler(httpPlugins); | 446 httpServer.RegisterHandler(httpPlugins); |
447 httpServer.RegisterHandler(staticResources); | 447 httpServer.RegisterHandler(staticResources); |
448 httpServer.RegisterHandler(restApi); | 448 httpServer.RegisterHandler(restApi); |
449 httpPlugins.SetOrthancRestApi(restApi); | |
449 | 450 |
450 // GO !!! Start the requested servers | 451 // GO !!! Start the requested servers |
451 if (Configuration::GetGlobalBoolParameter("HttpServerEnabled", true)) | 452 if (Configuration::GetGlobalBoolParameter("HttpServerEnabled", true)) |
452 { | 453 { |
453 httpServer.Start(); | 454 httpServer.Start(); |