|
curl-fuzzer C++ reference
|
Receives bytes after any transport decoding. More...
#include <incoming_data_observer.h>
Public Member Functions | |
| virtual void | ObserveIncomingData (const unsigned char *data, std::size_t size)=0 |
| Observe one contiguous application-data fragment. | |
Receives bytes after any transport decoding.
Protocol peers use this to track client frame state without changing how MockConnection drains data.
Definition at line 19 of file incoming_data_observer.h.
|
pure virtual |
Observe one contiguous application-data fragment.
| data | First byte of the fragment. |
| size | Number of bytes available at data. |
Implemented in proto_fuzzer::FtpMockServer, proto_fuzzer::H2PlanDriver, proto_fuzzer::HttpTransportMockServer, proto_fuzzer::LdapMockServer, proto_fuzzer::MqttMockServer, proto_fuzzer::PingpongMockServer, proto_fuzzer::ProxyOptionMockServer, proto_fuzzer::ProxyTransportMockServer, and proto_fuzzer::WebSocketMockServer.