version 1.4, 2002/04/11 21:51:38
|
version 1.6, 2002/04/17 03:47:18
|
|
|
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
#define HTTP_STATUSCODE_OK 200 |
|
#define HTTP_REASONPHRASE_OK "OK" |
|
|
typedef Pair<String, String> HTTPHeader; | typedef Pair<String, String> HTTPHeader; |
| |
/** This message is sent from a connection to its output queue when | /** This message is sent from a connection to its output queue when |
|
|
String& reasonPhrase); | String& reasonPhrase); |
}; | }; |
| |
PEGASUS_NAMESPACE_END |
/** |
|
This message contains information about an HTTP error response. |
/** This message is sent from the response decoder back to the client to turn |
|
it into an Exception. |
|
*/ | */ |
class PEGASUS_COMMON_LINKAGE HTTPErrorMessage : public Message | class PEGASUS_COMMON_LINKAGE HTTPErrorMessage : public Message |
{ | { |
|
|
const String pegasusError; | const String pegasusError; |
}; | }; |
| |
|
PEGASUS_NAMESPACE_END |
|
|
#endif /* Pegasus_HTTPMessage_h */ | #endif /* Pegasus_HTTPMessage_h */ |