frostfs-api/service/meta.proto

24 lines
565 B
Protocol Buffer
Raw Normal View History

2020-01-30 11:41:24 +00:00
syntax = "proto3";
2020-01-30 11:41:24 +00:00
package service;
2020-03-31 06:58:22 +00:00
option go_package = "github.com/nspcc-dev/neofs-api-go/service";
2020-02-05 12:14:39 +00:00
option csharp_namespace = "NeoFS.API.Service";
2020-01-30 11:41:24 +00:00
// RequestMetaHeader contains information about request meta headers.
2020-01-30 11:41:24 +00:00
message RequestMetaHeader {
// Carries maximum number of nodes in the request route.
uint32 ttl = 1;
message XHeader {
// Carries key to the X-Header.
string key = 1;
// Carries value of the X-Header.
string value = 2;
}
// Carries request X-Headers.
repeated XHeader x_headers = 2;
}