FCPv2 AllData - hyphanet/wiki GitHub Wiki
AllData is a message from the node returning data from the node.
For a ClientGet with ReturnType=direct
, the data is returned directly to the client, all at once, using the AllData message. Obviously in many situations this will not be desirable, hence the other ReturnType options.
Persistent direct requests will not send this immediately on completion of the request; see GetRequestStatus.
AllData Identifier=Request Number One DataLength=37261 // length of data StartupTime=1189683889 CompletionTime=1189683889 Metadata.ContentType=text/plain;charset=utf-8 Data <37261 bytes of data>
This message is ended by Data
rather than EndMessage
, and is followed by the actual data.