[][src]Module hypercore_protocol::schema

The wire messages used by the protocol.

Modules

data

Structs

Cancel

type=8, cancel a request

Close

type=10, explicitly close a channel.

Data

type=9, get some data

ExtensionMessage

A extension message (not yet supported properly).

Have

type=3, what do we have?

NoisePayload

Sent as part of the noise protocol.

Open

type=0

Options

type=1, overall feed options. can be sent multiple times

Request

type=7, ask for data

Status

type=2, message indicating state changes etc. initial state for uploading/downloading is true

Unhave

type=4, what did we lose?

Unwant

type=6, what don't we want anymore?

Want

type=5, what do we want? remote should start sending have messages in this range