| 1 | #ifndef STREAMWRITER_H |
|---|---|
| 2 | #define STREAMWRITER_H |
| 3 | |
| 4 | #include <memory> |
| 5 | #include <string> |
| 6 | |
| 7 | namespace jsonrpc { |
| 8 | class StreamWriter { |
| 9 | public: |
| 10 | bool Write(const std::string &source, int fd); |
| 11 | }; |
| 12 | |
| 13 | } // namespace jsonrpc |
| 14 | |
| 15 | #endif // STREAMWRITER_H |
| 16 |