10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
WinHttpSession.h
1
#ifndef TENDUKE_HTTP_WIN_WINHTTPSESSION_H
2
#define TENDUKE_HTTP_WIN_WINHTTPSESSION_H
3
4
#include <memory>
5
#include <string>
6
7
#include "InternetHandle.h"
8
9
10
namespace
tenduke
{
namespace
http
{
namespace
win {
11
15
class
WinHttpSession
16
{
17
public
:
18
explicit
WinHttpSession(
const
std::string &userAgent);
19
20
std::unique_ptr<::tenduke::http::win::InternetHandle> connect(
const
std::wstring &hostname,
unsigned
short
port)
const
;
21
22
void
setSecureProtocols(DWORD protocolFlags);
23
private
:
24
std::unique_ptr<const ::tenduke::http::win::InternetHandle> sessionHandle;
25
};
26
27
}}}
28
29
#endif
//TENDUKE_HTTP_WIN_WINHTTPSESSION_H
tenduke::http
HTTP-related services.
Definition
BadRequest.h:6
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
services
windows
src
http
WinHttpSession.h
Generated by
1.13.2