Functions



CDAVConnection

public:

CDAVConnection(LThread& inThread);

object constructor


Copy

public:

virtual void Copy( ConstStr255Param inRemoteHost, ConstStr255Param inRequest, LHTTPMessage& inMessage, LHTTPResponse& outResponse, SInt16 inRemotePort = kHTTPPort);

performs an HTTP Copy

Parameters

NameDescription
inRemoteHostthe host name or IP address of the server
inRequestthe requested resource
inMessagecontains the message to be sent to the server
outResponseHTTP response is parsed and placed in this object
inRemptePortthe port number to communicate with the server. Defaults to 80

Delete

public:

virtual void Delete( ConstStr255Param inRemoteHost, ConstStr255Param inRequest, LHTTPMessage& inMessage, LHTTPResponse& outResponse, SInt16 inRemotePort = kHTTPPort);

performs an HTTP Delete

Parameters

NameDescription
inRemoteHostthe host name or IP address of the server
inRequestthe requested resource
inMessagecontains the message to be sent to the server
outResponseHTTP response is parsed and placed in this object
inRemptePortthe port number to communicate with the server. Defaults to 80

Get

public:

virtual void Get( ConstStr255Param inRemoteHost, ConstStr255Param inRequest, LHTTPMessage& inMessage, LHTTPResponse& outResponse, SInt16 inRemotePort = kHTTPPort);

performs an HTTP GET

Parameters

NameDescription
inRemoteHostthe host name or IP address of the server
inRequestthe requested resource
inMessagecontains the message to be sent to the server
outResponseHTTP response is parsed and placed in this object
inRemptePortthe port number to communicate with the server. Defaults to 80

Get

public:

virtual void Lock( ConstStr255Param inRemoteHost, ConstStr255Param inRequest, LHTTPMessage& inMessage, LHTTPResponse& outResponse, SInt16 inRemotePort = kHTTPPort);

performs an HTTP Lock

Parameters

NameDescription
inRemoteHostthe host name or IP address of the server
inRequestthe requested resource
inMessagecontains the message to be sent to the server
outResponseHTTP response is parsed and placed in this object
inRemptePortthe port number to communicate with the server. Defaults to 80

Head

public:

virtual void Head( ConstStr255Param inRemoteHost, ConstStr255Param inRequest, LHTTPMessage& inMessage, LHTTPResponse& outResponse, SInt16 inRemotePort = kHTTPPort);

performs an HTTP HEAD

Parameters

NameDescription
inRemoteHostthe host name or IP address of the server
inRequestthe requested resource
inMessagecontains the message to be sent to the server
outResponseHTTP response is parsed and placed in this object
inRemptePortthe port number to communicate with the server. Defaults to 80

Mkcol

public:

virtual void MkCol( ConstStr255Param inRemoteHost, ConstStr255Param inRequest, LHTTPMessage& inMessage, LHTTPResponse& outResponse, SInt16 inRemotePort = kHTTPPort);

performs an HTTP MKCOL

Parameters

NameDescription
inRemoteHostthe host name or IP address of the server
inRequestthe requested resource
inMessagecontains the message to be sent to the server
outResponseHTTP response is parsed and placed in this object
inRemptePortthe port number to communicate with the server. Defaults to 80

Move

public:

virtual void Move( ConstStr255Param inRemoteHost, ConstStr255Param inRequest, LHTTPMessage& inMessage, LHTTPResponse& outResponse, SInt16 inRemotePort = kHTTPPort);

performs an HTTP MOVE

Parameters

NameDescription
inRemoteHostthe host name or IP address of the server
inRequestthe requested resource
inMessagecontains the message to be sent to the server
outResponseHTTP response is parsed and placed in this object
inRemptePortthe port number to communicate with the server. Defaults to 80

Options

public:

virtual void Options( ConstStr255Param inRemoteHost, ConstStr255Param inRequest, LHTTPMessage& inMessage, LHTTPResponse& outResponse, SInt16 inRemotePort = kHTTPPort);

performs an HTTP OPTIONS

Parameters

NameDescription
inRemoteHostthe host name or IP address of the server
inRequestthe requested resource
inMessagecontains the message to be sent to the server
outResponseHTTP response is parsed and placed in this object
inRemptePortthe port number to communicate with the server. Defaults to 80

Post

public:

virtual void Post( ConstStr255Param inRemoteHost, ConstStr255Param inRequest, LHTTPMessage& inMessage, LHTTPResponse& outResponse, SInt16 inRemotePort = kHTTPPort);

performs an HTTP POST

Parameters

NameDescription
inRemoteHostthe host name or IP address of the server
inRequestthe requested resource
inMessagecontains the message to be sent to the server
outResponseHTTP response is parsed and placed in this object
inRemptePortthe port number to communicate with the server. Defaults to 80

PropFind

public:

virtual void PropFind( ConstStr255Param inRemoteHost, ConstStr255Param inRequest, LHTTPMessage& inMessage, LHTTPResponse& outResponse, SInt16 inRemotePort = kHTTPPort);

performs an HTTP PROPFIND

Parameters

NameDescription
inRemoteHostthe host name or IP address of the server
inRequestthe requested resource
inMessagecontains the message to be sent to the server
outResponseHTTP response is parsed and placed in this object
inRemptePortthe port number to communicate with the server. Defaults to 80

PropPatch

public:

virtual void PropPatch( ConstStr255Param inRemoteHost, ConstStr255Param inRequest, LHTTPMessage& inMessage, LHTTPResponse& outResponse, SInt16 inRemotePort = kHTTPPort);

Parameters

NameDescription
inRemoteHostthe host name or IP address of the server
inRequestthe requested resource
inMessagecontains the message to be sent to the server
outResponseHTTP response is parsed and placed in this object
inRemptePortthe port number to communicate with the server. Defaults to 80

Put

public:

virtual void Put( ConstStr255Param inRemoteHost, ConstStr255Param inRequest, LHTTPMessage& inMessage, LHTTPResponse& outResponse, SInt16 inRemotePort = kHTTPPort);

performs an HTTP PUT

Parameters

NameDescription
inRemoteHostthe host name or IP address of the server
inRequestthe requested resource
inMessagecontains the message to be sent to the server
outResponseHTTP response is parsed and placed in this object
inRemptePortthe port number to communicate with the server. Defaults to 80

RequestResource

public:

virtual void RequestResource( ConstStr255Param inRemoteHost, ConstStr255Param inRequest, LHTTPMessage& inMessage, LHTTPResponse& outResponse, EHTTPMethod inMethod = HTTPGet, SInt16 inRemotePort = kHTTPPort);

Get a resource

Parameters

NameDescription
inRemoteHostthe host name or IP address of the server
inRequestthe requested resource
inMessagecontains the message to be sent to the server
outResponseHTTP response is parsed and placed in this object
inMethodthe method, defaults to GET
inRemptePortthe port number to communicate with the server. Defaults to 80

Unlock

public:

virtual void Unlock( ConstStr255Param inRemoteHost, ConstStr255Param inRequest, LHTTPMessage& inMessage, LHTTPResponse& outResponse, SInt16 inRemotePort = kHTTPPort);

performs an HTTP UNLOCK

Parameters

NameDescription
inRemoteHostthe host name or IP address of the server
inRequestthe requested resource
inMessagecontains the message to be sent to the server
outResponseHTTP response is parsed and placed in this object
inRemptePortthe port number to communicate with the server. Defaults to 80

~CDAVConnection

public:

virtual ~CDAVConnection();

object destructor


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