syntax = "proto3"; package curl; option go_package = "./curl"; option java_multiple_files = true; option java_package = "io.grpc.curl"; option java_outer_classname = "curlWithResolve"; service CurlWithResolve { // Sends a greeting rpc CurlWithResolveParam (CurlRequest) returns (CurlReply) {} } // request message CurlRequest { string url = 1; string ip = 2; string UA = 3; bool UseHeadMethod = 4; } // response message CurlReply { int32 code = 1; int64 contentLength = 2; string error = 3; }