2018-03-01 07:16:52 -05:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package v2ray.core.transport.internet.http;
|
|
|
|
option csharp_namespace = "V2Ray.Core.Transport.Internet.Http";
|
2022-01-02 10:16:23 -05:00
|
|
|
option go_package = "github.com/v2fly/v2ray-core/v5/transport/internet/http";
|
2018-03-01 07:16:52 -05:00
|
|
|
option java_package = "com.v2ray.core.transport.internet.http";
|
|
|
|
option java_multiple_files = true;
|
|
|
|
|
2023-08-09 04:37:07 -04:00
|
|
|
import "common/protoext/extensions.proto";
|
|
|
|
|
2021-03-01 15:38:29 -05:00
|
|
|
import "transport/internet/headers/http/config.proto";
|
|
|
|
|
2018-03-01 07:16:52 -05:00
|
|
|
message Config {
|
2023-08-09 04:37:07 -04:00
|
|
|
option (v2ray.core.common.protoext.message_opt).type = "transport";
|
|
|
|
option (v2ray.core.common.protoext.message_opt).short_name = "h2";
|
|
|
|
|
|
|
|
option (v2ray.core.common.protoext.message_opt).transport_original_name = "http";
|
2018-03-01 07:16:52 -05:00
|
|
|
repeated string host = 1;
|
|
|
|
string path = 2;
|
2021-03-01 15:40:56 -05:00
|
|
|
string method = 3;
|
2021-03-01 15:38:29 -05:00
|
|
|
repeated v2ray.core.transport.internet.headers.http.Header header = 4;
|
2018-03-01 07:16:52 -05:00
|
|
|
}
|