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