mirror of
https://github.com/cline/cline.git
synced 2026-09-24 23:20:16 +08:00
Add an RPC to the HostBridge that returns the contents of the webview, for use in integration tests.
18 lines
396 B
Protocol Buffer
18 lines
396 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package host;
|
|
option java_package = "bot.cline.host.proto";
|
|
option java_multiple_files = true;
|
|
|
|
// This is for use in integration tests to get the contents of the webview.
|
|
service TestingService {
|
|
rpc getWebviewHtml(GetWebviewHtmlRequest) returns (GetWebviewHtmlResponse);
|
|
}
|
|
|
|
message GetWebviewHtmlRequest {
|
|
}
|
|
|
|
message GetWebviewHtmlResponse {
|
|
optional string html = 1;
|
|
}
|