blob: be6b8777a104ab3b3953372a638ec7506bfa747d [file] [log] [blame]
#ifndef QUICHE_HTTP2_ADAPTER_HTTP2_UTIL_H_
#define QUICHE_HTTP2_ADAPTER_HTTP2_UTIL_H_
#include "http2/adapter/http2_protocol.h"
#include "http2/adapter/http2_visitor_interface.h"
#include "common/platform/api/quiche_export.h"
#include "spdy/core/spdy_protocol.h"
namespace http2 {
namespace adapter {
QUICHE_EXPORT_PRIVATE spdy::SpdyErrorCode TranslateErrorCode(
Http2ErrorCode code);
QUICHE_EXPORT_PRIVATE Http2ErrorCode
TranslateErrorCode(spdy::SpdyErrorCode code);
QUICHE_EXPORT_PRIVATE absl::string_view ConnectionErrorToString(
Http2VisitorInterface::ConnectionError error);
} // namespace adapter
} // namespace http2
#endif // QUICHE_HTTP2_ADAPTER_HTTP2_UTIL_H_