HDK
 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:
26  : myIdleTimeout(180)
27  , myReadTimeout(30)
28  , myWriteTimeout(30)
29  , myMaxInMemorySize(2500000) // 2.5MB
30  , myIsDebug(false)
31  {
32  }
33 
40  bool myIsDebug;
41 };
42 
43 #endif // __NET_HTTPSETTINGS_H__
44 
A reference counter base class for use with UT_IntrusivePtr.
#define NET_API
Definition: NET_API.h:9
UT_StringHolder myServerId
long long int64
Definition: SYS_Types.h:116
UT_StringHolder myServer