Skip to main content

Module chunk_protocol

Module chunk_protocol 

Source
Expand description

Shared helper for the chunk protocol request/response pattern.

Extracts the duplicated “subscribe → send → poll event loop” into a single generic function used by both ant-client and ant-node E2E helpers.

Structs§

ChunkProtocolResponse
A decoded chunk-protocol response together with transport provenance.

Functions§

send_and_await_chunk_response
Send a chunk-protocol message to target_peer and await a matching response.
send_and_await_chunk_response_with_metadata
Send a chunk-protocol message and return the decoded response plus the observed transport provenance.