#include <HttpConnectionMap.h>
Get pointer to singleton instance of the connection map.
- Returns
- pointer to the instance of the connectiomn map
void releaseHttpConnectionMap |
( |
| ) |
|
Release instance of connection map.
void clearHttpConnectionMap |
( |
| ) |
|
Clear all entries in map. Close all sockets and delete them.
Return a map entry for an existing connection or NULL. Locks the connection if non-NULL.
- Returns
- pointer to a connection map entry and a connection socket. If no entry exists for a given URI one will be created and th socket pointer will be set to NULL.
- NULL if the connection does not exist