forked from Silverfish/proton-bridge
GODT-1672: implemented bug report feature.
WIP: EventStream grpcClient call now include 'clientPlaftorm' info. Fix: removed unnecessary call to useragent.SetPlatform().
This commit is contained in:
@ -95,7 +95,7 @@ service Bridge {
|
||||
rpc ConfigureUserAppleMail(ConfigureAppleMailRequest) returns (google.protobuf.Empty);
|
||||
|
||||
// Server -> Client event stream
|
||||
rpc StartEventStream(google.protobuf.Empty) returns (stream StreamEvent); // Keep streaming until StopEventStream is called.
|
||||
rpc StartEventStream(EventStreamRequest) returns (stream StreamEvent); // Keep streaming until StopEventStream is called.
|
||||
rpc StopEventStream(google.protobuf.Empty) returns (google.protobuf.Empty);
|
||||
}
|
||||
|
||||
@ -104,10 +104,12 @@ service Bridge {
|
||||
//**********************************************************************************************************************
|
||||
|
||||
message ReportBugRequest {
|
||||
string description = 1;
|
||||
string address = 2;
|
||||
string emailClient = 3;
|
||||
bool includeLogs = 4;
|
||||
string osType = 1;
|
||||
string osVersion = 2;
|
||||
string description = 3;
|
||||
string address = 4;
|
||||
string emailClient = 5;
|
||||
bool includeLogs = 6;
|
||||
|
||||
}
|
||||
|
||||
@ -178,6 +180,11 @@ message ConfigureAppleMailRequest {
|
||||
//**********************************************************************************************************************
|
||||
// Event stream messages
|
||||
//**********************************************************************************************************************
|
||||
|
||||
message EventStreamRequest {
|
||||
string ClientPlatform = 1;
|
||||
}
|
||||
|
||||
message StreamEvent {
|
||||
oneof event {
|
||||
AppEvent app = 1;
|
||||
|
||||
Reference in New Issue
Block a user