HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
NET_HTTPSettings.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
* NAME: NET_HTTPSettings.h
7
*
8
* COMMENTS:
9
*
10
*
11
*/
12
13
#ifndef __NET_HTTPSETTINGS_H__
14
#define __NET_HTTPSETTINGS_H__
15
16
#include "
NET_API.h
"
17
18
#include <
UT/UT_StringHolder.h
>
19
#include <
UT/UT_WorkBuffer.h
>
20
#include <
UT/UT_IntrusivePtr.h
>
21
22
class
NET_API
NET_HTTPSettings
:
public
UT_IntrusiveRefCounter
<NET_HTTPSettings>
23
{
24
public
:
25
NET_HTTPSettings
()
26
: myIdleTimeout(180)
27
, myReadTimeout(30)
28
, myWriteTimeout(30)
29
, myMaxInMemorySize(2500000)
// 2.5MB
30
, myIsDebug(false)
31
{
32
}
33
34
int
myIdleTimeout
;
35
int
myReadTimeout
;
36
int
myWriteTimeout
;
37
int64
myMaxInMemorySize
;
38
UT_StringHolder
myServer
;
39
UT_StringHolder
myServerId
;
40
bool
myIsDebug
;
41
UT_StringHolder
myCAChain
;
42
bool
myVerifyPeer
;
43
int
myRateLimitIPv6Mask = 64;
44
int
myRateLimitIPv4Mask = 32;
45
};
46
47
#endif // __NET_HTTPSETTINGS_H__
48
UT_IntrusiveRefCounter
A reference counter base class for use with UT_IntrusivePtr.
Definition:
UT_IntrusivePtr.h:242
NET_HTTPSettings::NET_HTTPSettings
NET_HTTPSettings()
Definition:
NET_HTTPSettings.h:25
NET_API
#define NET_API
Definition:
NET_API.h:9
UT_StringHolder
Definition:
UT_StringHolder.h:999
NET_API.h
UT_WorkBuffer.h
NET_HTTPSettings::myServerId
UT_StringHolder myServerId
Definition:
NET_HTTPSettings.h:39
int64
long long int64
Definition:
SYS_Types.h:116
NET_HTTPSettings
Definition:
NET_HTTPSettings.h:22
NET_HTTPSettings::myReadTimeout
int myReadTimeout
Definition:
NET_HTTPSettings.h:35
NET_HTTPSettings::myCAChain
UT_StringHolder myCAChain
Definition:
NET_HTTPSettings.h:41
NET_HTTPSettings::myServer
UT_StringHolder myServer
Definition:
NET_HTTPSettings.h:38
UT_StringHolder.h
NET_HTTPSettings::myWriteTimeout
int myWriteTimeout
Definition:
NET_HTTPSettings.h:36
NET_HTTPSettings::myMaxInMemorySize
int64 myMaxInMemorySize
Definition:
NET_HTTPSettings.h:37
NET_HTTPSettings::myIsDebug
bool myIsDebug
Definition:
NET_HTTPSettings.h:40
NET_HTTPSettings::myIdleTimeout
int myIdleTimeout
Definition:
NET_HTTPSettings.h:34
UT_IntrusivePtr.h
NET_HTTPSettings::myVerifyPeer
bool myVerifyPeer
Definition:
NET_HTTPSettings.h:42
NET
NET_HTTPSettings.h
Generated on Tue Dec 17 2024 03:40:00 for HDK by
1.8.6