Pudu programming language
Menu
API reference

Std.Db.Protocol.Message

1 declaration

type

Message

This declaration introduces a public type.

What it does

One message, as it travels: the letter naming its kind and the bytes after

the length.

The kind is kept as text rather than as a variant per message, because the

protocol has more kinds than any one client uses and a server is permitted

to send ones this client has never heard of. A variant per kind would make

an unknown message impossible to represent, and the only correct thing to

do with most of them is to read past them.

Read the signature

  • This declaration has no value signature because it introduces a type or trait.

Back to Std.Db.ProtocolSearch related declarations