grpc: removed get/set session options, now accomplished through get_session and start_session
This commit is contained in:
parent
3d356272f1
commit
d4c008e564
4 changed files with 4 additions and 81 deletions
|
@ -25,10 +25,6 @@ service CoreApi {
|
|||
}
|
||||
rpc CheckSession (CheckSessionRequest) returns (CheckSessionResponse) {
|
||||
}
|
||||
rpc GetSessionOptions (GetSessionOptionsRequest) returns (GetSessionOptionsResponse) {
|
||||
}
|
||||
rpc SetSessionOptions (SetSessionOptionsRequest) returns (SetSessionOptionsResponse) {
|
||||
}
|
||||
rpc SetSessionMetadata (SetSessionMetadataRequest) returns (SetSessionMetadataResponse) {
|
||||
}
|
||||
rpc GetSessionMetadata (GetSessionMetadataRequest) returns (GetSessionMetadataResponse) {
|
||||
|
@ -244,23 +240,6 @@ message GetSessionResponse {
|
|||
Session session = 1;
|
||||
}
|
||||
|
||||
message GetSessionOptionsRequest {
|
||||
int32 session_id = 1;
|
||||
}
|
||||
|
||||
message GetSessionOptionsResponse {
|
||||
map<string, common.ConfigOption> config = 2;
|
||||
}
|
||||
|
||||
message SetSessionOptionsRequest {
|
||||
int32 session_id = 1;
|
||||
map<string, string> config = 2;
|
||||
}
|
||||
|
||||
message SetSessionOptionsResponse {
|
||||
bool result = 1;
|
||||
}
|
||||
|
||||
message SetSessionMetadataRequest {
|
||||
int32 session_id = 1;
|
||||
map<string, string> config = 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue