Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Internet Protocols Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWHttpClientManager

Module:  Internet Protocols Module   Package:  HTTP


Does not inherit

Local Index

Members

Description

RWHttpClientManager provides a resource for pooling connection requests for RWHttpAgent. The RWHttpClientManager is thread-hot, allowing for multiple requests to be processed simultaneously.

Additionally, RWHttpClientManager provides a mechanism for reusing connected clients for multiple requests to the same host.

Public Constructors

RWHttpClientManager();
RWHttpClientManager(size_t maxConnections, size_t maxThreads);

Public Typedefs

typedef RWTCountingPointer<RWHttpClient,RWSafeCounter>
   PointerType;

Public Member Functions

void
setMaxThreads(size_t maxThreads);
size_t
getMaxThreads() const;
void
setMaxConnectionsPerHost(size_t maxConn);
size_t
getMaxConnectionsPerHost() const;
void
closeIfNotUsedSince(const RWHttpDate& date);
bool
registerScheme(const RWCString& scheme,
  RWTFunctorR0<RWHttpClient> functor);
bool
unregisterScheme(const RWCString& scheme);


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.