优化http调试日志性能

This commit is contained in:
ziyue
2021-08-12 21:02:07 +08:00
parent 7b60f8b093
commit 0f6d1135eb
5 changed files with 52 additions and 16 deletions

View File

@@ -31,6 +31,7 @@ public:
HttpResponseInvokerImp(const HttpResponseInvokerLambda0 &lambda);
HttpResponseInvokerImp(const HttpResponseInvokerLambda1 &lambda);
void operator()(int code, const StrCaseMap &headerOut, const Buffer::Ptr &body) const;
void operator()(int code, const StrCaseMap &headerOut, const HttpBody::Ptr &body) const;
void operator()(int code, const StrCaseMap &headerOut, const string &body) const;