Functions



CDAVContect

   public:

CDAVContext(CDAVContext &rhs);

copy constructor


CDAVContext

   public:

CDAVContext(ConstStr255Param srvr, SInt32 port);

object constructor

Parameters

NameDescription
srvrthe host name or IP address of the web server
portthe port to use in communicating with the server

GetHasProxyCredentials

   public:

Boolean GetHasProxyCredentials() {return mHasProxyCred;};

get whether a credentials are required for the proxy server


GetHasUserCredentials

   public:

Boolean GetHasUserCredentials() {return m_hasUserCred;};

returns true if a login and password are set for this connection


GetLogin

   public:

const char* GetLogin() {return m_login.c_str();};

accesses the user login


GetPassword

   public:

const char* GetPassword() {return m_password.c_str();};

accesses the users password


GetPort

   public:

SInt32 GetPort() {return m_port;};

access the port number to use in contacting the web server


GetProxyLogin

   public:

const char* GetProxyLogin() {return mProxyUserName.c_str();};

access the clear text login for the proxy server


GetProxyPassword

   public:

const char* GetProxyPassword() {return mProxyPassword.c_str();};

access the clear text password for the proxy server.


GetProxyPort

   public:

SInt32 GetProxyPort() {return m_proxyPort;};

get the port for communicating with the proxy server


GetProxyServer

   public:

void GetProxyServer(LStr255 &proxySrvr) {proxySrvr = m_proxyServer;};

get the host name or IP address of the proxy server


GetServerName

   public:

const char* GetServerName() {return m_Cserver.c_str();};

access the host name or IP address of the web server


GetUsesProxy

   public:

Boolean GetUsesProxy() {return m_useProxy;};

get whether a proxy server needs to be used in this connection


GetUsesProxy

   public:

Boolean GetUseProxy() {return m_useProxy;};

Parameters

NameDescription
returnstrue if a proxy server is set for this connection

SetProxyCredentials

   public:

void SetProxyCredentials(ConstStr255Param login, ConstStr255Param password);

set an optional login and password for the proxy server

Parameters

NameDescription
loginplain text user login
passwordplain text user password

SetProxyServer

   public:

void SetProxyServer(ConstStr255Param proxyServer, SInt32 proxyPort);

set a proxy server for use in this connection

Parameters

NameDescription
srvrthe host name or IP address of the proxy server
portthe port to use in communicating with the proxy server

SetUserCredentials

   public:

virtual void SetUserCredentials(ConstStr255Param login, ConstStr255Param password);

Parameters

NameDescription
setan optional login and password for this connection
loginplain text user login
passwordplain text user password

equals

   public:

Boolean equals(CDAVContext &rhs);

Parameters

NameDescription
rhsthe object to compare with this object
Result: returns true if the 2 objects are equal

~CDAVContext

   public:

virtual ~CDAVContext();

Parameters

NameDescription
objectdestructor

© 1999-2000, Thomas Bednarz, Jr. — (Last Updated 7/16/2000)