edgedb / edgedb-python

The official Python client library for EdgeDB
https://edgedb.com
Apache License 2.0
369 stars 45 forks source link

Change headers format to str:json #319

Closed fantix closed 2 years ago

fantix commented 2 years ago

Headers now has the following format:

struct Header {
  // Header key.
  bytes           key;
  // Header data.
  bytes           value;
}

struct SomeMessage {
  ...
  // A set of message headers.
  uint16          num_headers;
  Header          headers[num_headers];
}