Adapt to firecgi API change, add asan target, new Makefile ar merge method
This commit is contained in:
4
stream.h
4
stream.h
@@ -8,13 +8,13 @@ namespace firesse {
|
||||
|
||||
class Stream {
|
||||
public:
|
||||
Stream(std::unique_ptr<firecgi::Request> request);
|
||||
Stream(firecgi::Request* request);
|
||||
|
||||
[[nodiscard]] bool WriteEvent(const std::string& data, uint64_t id=0, const std::string& type="");
|
||||
bool End();
|
||||
|
||||
private:
|
||||
std::unique_ptr<firecgi::Request> request_;
|
||||
firecgi::Request* request_;
|
||||
};
|
||||
|
||||
} // namespace firesse
|
||||
|
||||
Reference in New Issue
Block a user