Overview
Features
Download
Documentation
Community
Add-Ons & Services

Inheriting from both HTTPRequest and HTTPResponse

Please post support and help requests here.

Inheriting from both HTTPRequest and HTTPResponse

Postby mpnordland » 02 May 2012, 01:48

So basically, I want an object that can hold both the request data and it's response. HTTPRequest and HTTPResponse both inherit from HTTPMessage, which would lead to naming conflicts. What is the best way to do this?
Praising my Savior all the day long!
mpnordland
 
Posts: 11
Joined: 21 Jun 2011, 11:54

Re: Inheriting from both HTTPRequest and HTTPResponse

Postby alex » 02 May 2012, 04:39

Have HTTPRequest and HTTPResponse as member variables of your object.
alex
 
Posts: 1101
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: Inheriting from both HTTPRequest and HTTPResponse

Postby mpnordland » 02 May 2012, 11:33

Thanks, that should do it.
Praising my Savior all the day long!
mpnordland
 
Posts: 11
Joined: 21 Jun 2011, 11:54


Return to Support

Who is online

Users browsing this forum: No registered users and 3 guests

cron