mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 11:23:58 +00:00
31 lines
395 B
C
31 lines
395 B
C
|
/*
|
||
|
* IHttpBody.h
|
||
|
*
|
||
|
* This is the interface for contents that can be sent to a remote HTTP server.
|
||
|
*/
|
||
|
|
||
|
#ifndef IHttpBody_H_
|
||
|
#define IHttpBody_H_
|
||
|
|
||
|
|
||
|
#include <iostream>
|
||
|
|
||
|
namespace io {
|
||
|
namespace swagger {
|
||
|
namespace client {
|
||
|
namespace model {
|
||
|
|
||
|
class IHttpBody
|
||
|
{
|
||
|
public:
|
||
|
virtual ~IHttpBody() { }
|
||
|
|
||
|
virtual void writeTo( std::ostream& stream ) = 0;
|
||
|
};
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#endif /* IHttpBody_H_ */
|