You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
675 B
C
30 lines
675 B
C
![]()
7 years ago
|
#ifndef WEBCC_SOAP_REQUEST_HANDLER_H_
|
||
|
#define WEBCC_SOAP_REQUEST_HANDLER_H_
|
||
|
|
||
|
#include <map>
|
||
![]()
7 years ago
|
#include <string>
|
||
![]()
7 years ago
|
|
||
|
#include "webcc/http_request_handler.h"
|
||
|
|
||
|
namespace webcc {
|
||
|
|
||
|
class SoapRequestHandler : public HttpRequestHandler {
|
||
![]()
7 years ago
|
public:
|
||
![]()
7 years ago
|
SoapRequestHandler() = default;
|
||
|
~SoapRequestHandler() override = default;
|
||
|
|
||
![]()
7 years ago
|
bool Bind(SoapServicePtr service, const std::string& url);
|
||
![]()
7 years ago
|
|
||
![]()
7 years ago
|
private:
|
||
![]()
7 years ago
|
void HandleConnection(HttpConnectionPtr connection) override;
|
||
![]()
7 years ago
|
|
||
|
SoapServicePtr GetServiceByUrl(const std::string& url);
|
||
|
|
||
|
typedef std::map<std::string, SoapServicePtr> UrlServiceMap;
|
||
|
UrlServiceMap url_service_map_;
|
||
|
};
|
||
|
|
||
|
} // namespace webcc
|
||
|
|
||
|
#endif // WEBCC_SOAP_REQUEST_HANDLER_H_
|