openapi-generator/samples/client/petstore/cpprest/IHttpBody.h
2016-06-14 16:33:50 +08:00

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_ */