added grpc get/set session metadata
This commit is contained in:
parent
c0516255f2
commit
fe95f246d4
4 changed files with 109 additions and 0 deletions
|
@ -23,6 +23,10 @@ service CoreApi {
|
|||
}
|
||||
rpc SetSessionOptions (SetSessionOptionsRequest) returns (SetSessionOptionsResponse) {
|
||||
}
|
||||
rpc SetSessionMetadata (SetSessionMetadataRequest) returns (SetSessionMetadataResponse) {
|
||||
}
|
||||
rpc GetSessionMetadata (GetSessionMetadataRequest) returns (GetSessionMetadataResponse) {
|
||||
}
|
||||
rpc GetSessionLocation (GetSessionLocationRequest) returns (GetSessionLocationResponse) {
|
||||
}
|
||||
rpc SetSessionLocation (SetSessionLocationRequest) returns (SetSessionLocationResponse) {
|
||||
|
@ -203,6 +207,23 @@ message SetSessionOptionsResponse {
|
|||
bool result = 1;
|
||||
}
|
||||
|
||||
message SetSessionMetadataRequest {
|
||||
int32 session_id = 1;
|
||||
map<string, string> config = 2;
|
||||
}
|
||||
|
||||
message SetSessionMetadataResponse {
|
||||
bool result = 1;
|
||||
}
|
||||
|
||||
message GetSessionMetadataRequest {
|
||||
int32 session_id = 1;
|
||||
}
|
||||
|
||||
message GetSessionMetadataResponse {
|
||||
map<string, string> config = 1;
|
||||
}
|
||||
|
||||
message GetSessionLocationRequest {
|
||||
int32 session_id = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue