You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
v2ray-core/transport/internet/config.proto

43 lines
1.0 KiB

syntax = "proto3";
package v2ray.core.transport.internet;
option csharp_namespace = "V2Ray.Core.Transport.Internet";
option go_package = "internet";
option java_package = "com.v2ray.core.transport.internet";
option java_multiple_files = true;
import "v2ray.com/core/common/serial/typed_message.proto";
enum TransportProtocol {
TCP = 0;
UDP = 1;
MKCP = 2;
WebSocket = 3;
7 years ago
HTTP = 4;
}
message TransportConfig {
8 years ago
// Type of network that this settings supports.
TransportProtocol protocol = 1;
8 years ago
// Specific settings. Must be of the transports.
v2ray.core.common.serial.TypedMessage settings = 2;
}
message StreamConfig {
8 years ago
// Effective network.
TransportProtocol protocol = 1;
8 years ago
repeated TransportConfig transport_settings = 2;
8 years ago
// Type of security. Must be a message name of the settings proto.
string security_type = 3;
8 years ago
// Settings for transport security. For now the only choice is TLS.
repeated v2ray.core.common.serial.TypedMessage security_settings = 4;
}
message ProxyConfig {
string tag = 1;
}