http_socket.cpp 447 B

12345678910111213
  1. #include "httpload.h"
  2. #include "http_digest.h"
  3. socketAbstractHandler* socketHandlerFactory::chooseHandler(const THttpURL& url) {
  4. if (url.IsValidGlobal() && url.GetScheme() == THttpURL::SchemeHTTP)
  5. return new socketRegularHandler;
  6. return nullptr;
  7. }
  8. /************************************************************/
  9. socketHandlerFactory socketHandlerFactory::sInstance;
  10. /************************************************************/