1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-07-07 22:04:30 -04:00
v2fly/common/serial/typed_message.proto

16 lines
480 B
Protocol Buffer
Raw Normal View History

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