I need to wrap a http.Request into proto file so that I can send a request instance to the server side from client side, as the following code shows:
message WrapRequest{
*http.Request request = 1; // this is wrong
int64 start = 2;
int64 stop = 3;
bool match = 4;
string ruleid = 5;
}
I'm sure the request line in my code is wrong, is there anyone who knows how to achieve it. Thanks a lot.