3 // Note: this file name must be unique due to how the iOS megazord works :(
5 package mozilla.appservices.httpconfig.protobuf;
7 option java_package = "mozilla.appservices.httpconfig";
8 option java_outer_classname = "MsgTypes";
9 option swift_prefix = "MsgTypes_";
10 option optimize_for = LITE_RUNTIME;
23 required Method method = 1;
24 required string url = 2;
25 optional bytes body = 3;
26 map<string, string> headers = 4;
27 required bool follow_redirects = 5;
28 required bool use_caches = 6;
29 required int32 connect_timeout_secs = 7;
30 required int32 read_timeout_secs = 8;
34 // If this is present, nothing else is.
35 optional string exception_message = 1;
36 optional string url = 2;
37 optional int32 status = 3;
38 optional bytes body = 4;
39 map<string, string> headers = 5;