#include "quiche/http2/adapter/recording_http2_visitor.h"
#include "absl/strings/str_format.h"
#include "quiche/http2/adapter/http2_protocol.h"
#include "quiche/http2/adapter/http2_util.h"
namespace http2 {
namespace adapter {
namespace test {
int64_t RecordingHttp2Visitor::OnReadyToSend(absl::string_view serialized) { … }
Http2VisitorInterface::DataFrameHeaderInfo
RecordingHttp2Visitor::OnReadyToSendDataForStream(Http2StreamId stream_id,
size_t max_length) { … }
bool RecordingHttp2Visitor::SendDataFrame(Http2StreamId stream_id,
absl::string_view ,
size_t payload_bytes) { … }
void RecordingHttp2Visitor::OnConnectionError(ConnectionError error) { … }
bool RecordingHttp2Visitor::OnFrameHeader(Http2StreamId stream_id,
size_t length, uint8_t type,
uint8_t flags) { … }
void RecordingHttp2Visitor::OnSettingsStart() { … }
void RecordingHttp2Visitor::OnSetting(Http2Setting setting) { … }
void RecordingHttp2Visitor::OnSettingsEnd() { … }
void RecordingHttp2Visitor::OnSettingsAck() { … }
bool RecordingHttp2Visitor::OnBeginHeadersForStream(Http2StreamId stream_id) { … }
Http2VisitorInterface::OnHeaderResult RecordingHttp2Visitor::OnHeaderForStream(
Http2StreamId stream_id, absl::string_view name, absl::string_view value) { … }
bool RecordingHttp2Visitor::OnEndHeadersForStream(Http2StreamId stream_id) { … }
bool RecordingHttp2Visitor::OnDataPaddingLength(Http2StreamId stream_id,
size_t padding_length) { … }
bool RecordingHttp2Visitor::OnBeginDataForStream(Http2StreamId stream_id,
size_t payload_length) { … }
bool RecordingHttp2Visitor::OnDataForStream(Http2StreamId stream_id,
absl::string_view data) { … }
bool RecordingHttp2Visitor::OnEndStream(Http2StreamId stream_id) { … }
void RecordingHttp2Visitor::OnRstStream(Http2StreamId stream_id,
Http2ErrorCode error_code) { … }
bool RecordingHttp2Visitor::OnCloseStream(Http2StreamId stream_id,
Http2ErrorCode error_code) { … }
void RecordingHttp2Visitor::OnPriorityForStream(Http2StreamId stream_id,
Http2StreamId parent_stream_id,
int weight, bool exclusive) { … }
void RecordingHttp2Visitor::OnPing(Http2PingId ping_id, bool is_ack) { … }
void RecordingHttp2Visitor::OnPushPromiseForStream(
Http2StreamId stream_id, Http2StreamId promised_stream_id) { … }
bool RecordingHttp2Visitor::OnGoAway(Http2StreamId last_accepted_stream_id,
Http2ErrorCode error_code,
absl::string_view opaque_data) { … }
void RecordingHttp2Visitor::OnWindowUpdate(Http2StreamId stream_id,
int window_increment) { … }
int RecordingHttp2Visitor::OnBeforeFrameSent(uint8_t frame_type,
Http2StreamId stream_id,
size_t length, uint8_t flags) { … }
int RecordingHttp2Visitor::OnFrameSent(uint8_t frame_type,
Http2StreamId stream_id, size_t length,
uint8_t flags, uint32_t error_code) { … }
bool RecordingHttp2Visitor::OnInvalidFrame(Http2StreamId stream_id,
InvalidFrameError error) { … }
void RecordingHttp2Visitor::OnBeginMetadataForStream(Http2StreamId stream_id,
size_t payload_length) { … }
bool RecordingHttp2Visitor::OnMetadataForStream(Http2StreamId stream_id,
absl::string_view metadata) { … }
bool RecordingHttp2Visitor::OnMetadataEndForStream(Http2StreamId stream_id) { … }
std::pair<int64_t, bool> RecordingHttp2Visitor::PackMetadataForStream(
Http2StreamId stream_id, uint8_t* , size_t ) { … }
void RecordingHttp2Visitor::OnErrorDebug(absl::string_view message) { … }
}
}
}