[−][src]Trait envoy_sdk::extension::filter::network::DownstreamDataOps
An interface for manipulating data in the read buffer (data read from the downstream connection).
Required methods
fn downstream_data(
&self,
offset: usize,
max_size: usize
) -> Result<Option<Bytes>>
&self,
offset: usize,
max_size: usize
) -> Result<Option<Bytes>>
Returns data from the read buffer.
Arguments
offset
- offset to start reading data from.max_size
- maximum size of data to return.