1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-25 17:05:23 +00:00
v2fly/common/serial/typed_message.proto

16 lines
496 B
Protocol Buffer
Raw Normal View History

2016-12-15 10:51:09 +00:00
syntax = "proto3";
package v2ray.core.common.serial;
2016-12-22 23:24:28 +00:00
option csharp_namespace = "V2Ray.Core.Common.Serial";
2021-02-16 20:31:50 +00:00
option go_package = "github.com/v2fly/v2ray-core/v4/common/serial";
2016-12-15 10:51:09 +00:00
option java_package = "com.v2ray.core.common.serial";
2017-02-03 22:15:10 +00:00
option java_multiple_files = true;
2016-12-15 10:51:09 +00:00
2017-08-25 13:11:06 +00:00
// TypedMessage is a serialized proto message along with its type name.
2016-12-15 10:51:09 +00:00
message TypedMessage {
// The name of the message type, retrieved from protobuf API.
string type = 1;
// Serialized proto message.
2016-12-15 10:51:09 +00:00
bytes value = 2;
}