File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ option go_package = "github.com/roadrunner-server/api-go/v6/http/v2;httpV2";
88option php_metadata_namespace = "RoadRunner\\HTTP\\DTO\\V2\\GPBMetadata" ;
99option php_namespace = "RoadRunner\\HTTP\\DTO\\V2" ;
1010
11- message HttpRequest {
11+ message HttpHandlerRequest {
1212 string remote_addr = 1 ;
1313 string protocol = 2 ;
1414 string method = 3 ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ option go_package = "github.com/roadrunner-server/api-go/v6/http/v2;httpV2";
88option php_metadata_namespace = "RoadRunner\\HTTP\\DTO\\V2\\GPBMetadata" ;
99option php_namespace = "RoadRunner\\HTTP\\DTO\\V2" ;
1010
11- message HttpResponse {
11+ message HttpHandlerResponse {
1212 int64 status = 1 ;
1313 map <string , HttpHeaderValue > headers = 2 ;
1414}
Original file line number Diff line number Diff line change 1+ syntax = "proto3" ;
2+
3+ package http.v2 ;
4+
5+ import "http/v2/request.proto" ;
6+ import "http/v2/response.proto" ;
7+
8+ option go_package = "github.com/roadrunner-server/api-go/v6/http/v2;httpV2" ;
9+ option php_metadata_namespace = "RoadRunner\\HTTP\\DTO\\V2\\GPBMetadata" ;
10+ option php_namespace = "RoadRunner\\HTTP\\DTO\\V2" ;
11+
12+ service HttpProxyService {
13+ rpc HttpHandler (HttpHandlerRequest ) returns (HttpHandlerResponse );
14+ }
You can’t perform that action at this time.
0 commit comments